jdb@reef.cis.ufl.edu (Brian K. W. Hook) (03/19/91)
My program is giving me an exception error 13, 0 whenever I reach
WM_CREATE:
hBitmap[0]=LoadBitmap(hInst,"boom");
It dies right there! WHY?! ARGH! Anyway, it works fine if I use the
following:
hBitmap[0]=LoadBitmap(NULL,"CONSTANT");
^^^^^^^^^^^^----asstd. constants in SDK
In other words, when I try to use my own bmps it dies flat out....I have
1. Put .BMP files in the .RC file
2. checked EVERYTHINg twice
Please, what am I missing here?
Oh, hInst is a static global variable of hInstance....
SETUP:
386-33 w/8MB of RAM
8MB swapfile
Windows in enhanced mode
BC++ 2.00
Windows 3.00
Brian