|
-
October 23rd, 2003, 09:37 PM
#1
Libary File
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;
http://www.dewgames.com
Shareware and Free games!
-
October 24th, 2003, 06:42 AM
#2
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?
Gort...Klaatu, Barada Nikto!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|