After all this time of being so carefull to call LoadImage with the proper HINSTANCE and X, Y maximums, I tried this on a whim-and it works the same ?!!!! How strange! Can anyone explain this?
Code:
HBITMAP LoadPic(char *name )
{
return (HBITMAP)LoadImage(NULL, name, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
}