G
Gurunama
Guest
I have the following code:
static HBITMAP hbitmap3;
hInstance = ((LPCREATESTRUCT)lParam)->hInstance;
hbitmap3 = LoadBitmap(hInstance, TEXT("shadow2.bmp"));
The hbitmap3 returns zero.
From the rc file:
IDB_BITMAP3 BITMAP "shadow2.bmp"
From Resource.h:
#define IDB_BITMAP3 131
Thanks in advance.
Sincerely
Continue reading...
static HBITMAP hbitmap3;
hInstance = ((LPCREATESTRUCT)lParam)->hInstance;
hbitmap3 = LoadBitmap(hInstance, TEXT("shadow2.bmp"));
The hbitmap3 returns zero.
From the rc file:
IDB_BITMAP3 BITMAP "shadow2.bmp"
From Resource.h:
#define IDB_BITMAP3 131
Thanks in advance.
Sincerely
Continue reading...