jompe
April 12th, 1999, 10:51 AM
Tried to bisplay a Bitmap in an app. Inserted a .bmp file to a resource.
Included the same...
#include "Script2.rc"
tried to load it in to a CBitmap object...
if(bmp->LoadBitmap(IDB_BITMAP1)==0)
Got the following error....
c:\program\microsoft visual studio\vc98\code\bitmap\script2.rc(20) : error C2143: syntax error : missing ';' before 'constant'
c:\program\microsoft visual studio\vc98\code\bitmap\script2.rc(20) : error C2501: 'LANGUAGE' : missing storage-class or type specifiers
c:\program\microsoft visual studio\vc98\code\bitmap\script2.rc(20) : fatal error C1004: unexpected end of file found
WHY ???? PLEASE HELP !!!!
Included the same...
#include "Script2.rc"
tried to load it in to a CBitmap object...
if(bmp->LoadBitmap(IDB_BITMAP1)==0)
Got the following error....
c:\program\microsoft visual studio\vc98\code\bitmap\script2.rc(20) : error C2143: syntax error : missing ';' before 'constant'
c:\program\microsoft visual studio\vc98\code\bitmap\script2.rc(20) : error C2501: 'LANGUAGE' : missing storage-class or type specifiers
c:\program\microsoft visual studio\vc98\code\bitmap\script2.rc(20) : fatal error C1004: unexpected end of file found
WHY ???? PLEASE HELP !!!!