directx problems
for some reason my pictures won''t load. i use the statement:
hbm = (HBITMAP) LoadImage(GetModuleHandle(NULL), szBitmap, IMAGE_BITMAP, 0, 0, LR_CREATEDIBSECTION);
to load the bmp file but it always comes back NULL.
oops...
Have you tried using the full path and file name for the szBitmap parameter?
yeah. but i have an idea, that might fix the problem. i think that statement might be incomplete.
oops...
You should use flag LR_LOADFROMFILE instead of LR_CREATEDIBSECTION
I hope this help you!
gnolo
I hope this help you!
gnolo
gnolo
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement