The code is as follows:
HInstance=(Lparam) (LPCREATESTRUCT) - & gt; HInstance;
HBitmap=LoadBitmap (hInstance, TEXT (" Bricks "));
I use the getlasterror () returns the value is 1814, can't find the resource file, but I'm in the resource file is Bricks. BMP
The great god, please help me to solve,
CodePudding user response:
Check hInstance is correctCodePudding user response:
Should be correct, I follow the code booksCodePudding user response:
RC file is it?Bricks BITMAP Bricks. BMP
You can try
CodePudding user response:
The