![](http://www.gamedev.net/community/forums/ubb/smile.gif)
the samples load from resource files alot of times.
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
I don't know why but I had to add .bmp
LPDIRECTDRAW4 glpdd;
LPDIRECTDRAWSURFACE4 glpdds1;
static char szbitmap[] "gb";
glpdds1 = DDLoadBitmap(glpdd,szbitmap,0,0);
if(glpdds1 == NULL)
return InitFail(hw,hr,"DDLoadBitmap
FAILED");
"gb" is gb.bmp - 640x480 256 colors.
All help is appreciated. Thanks.