Hello!
I'd like to include a .pcx file in the .exe file of the application.
I put following line in 'rsrc.rc' file:
IDR_PCXFILE BINTYPE Main.pcx
And there's the piece of my code which should load the pcx file resource:
hResource = LoadResource (hInstance,
FindResource (hInstance, "BINTYPE",
MAKEINTRESOURCE (IDR_PCXFILE)));
However, the compiler claims that IDR_PCXFILE hasn't been declared.
When replacing IDR_PCXFILE with (e.g.) number 999 (in both files), the
program crashes, too.
Does anyone know what's wrong?
Tomas Dolejsi
50...@ce...
|