In my VC application I am trying to load an image bitmap by using "Load
Bitmap" API. But it's returning an error message
saying "ERROR_RESOURCE_NAME_NOT_FOUND - 1814 - The specified resource name
cannot be found in the image file".
But I am having the image id in my resources file. I don know from where
this issue is raising.
Pleas give a hint to solve this issue. (i have attached a piece of code from
my .rc and .C files)
HHvrOk BITMAP DISCARDABLE "HOk.bmp" (Image I am trying to load)
NorFinish BITMAP DISCARDABLE "NFinish.bmp"
HvrFinish BITMAP DISCARDABLE "HFinish.bmp"
hbImage=LoadBitmap(hinst,"HvrOk"); //returning himage as 0x00000
int i = GetLastError(); //i = 1814.