I want to add a bitmap to my MFC libary file.
It seemed to add it and it called it Script1.rc
but it doesnt find the bitmap I called LETTERS
What am I doing wrong
Code:CBitmap bitmap;
bitmap.LoadBitmap(LETTERS);
CDC dcComp;
Printable View
I want to add a bitmap to my MFC libary file.
It seemed to add it and it called it Script1.rc
but it doesnt find the bitmap I called LETTERS
What am I doing wrong
Code:CBitmap bitmap;
bitmap.LoadBitmap(LETTERS);
CDC dcComp;
Using the resource editor, open your .rc file for the project. Make sure that the bitmap exists in the resource file and has the name LETTERS. Now, look in the resource.h file for a "#define" statement for LETTERS. If you are successful finding the above, make sure you are pointing to the correct resource handle. For example, where is the LETTERS resource located? Is it in a dll perhaps?