Hi... Tried LoadImage(); but it seems it only for files which are part of resource file (whatever that means).. I'm using the Visual Studio C++ 2005 and would like to load an image from a specified folder???? A code snippet would help.
This is my attempt
HBITMAP radarBmp = (HBITMAP)LoadImage( NULL,
TEXT("c:\Quest Projects\Visual Studio\Resources\Resources\radar_bgrnd.bmp"), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
returns NULL... Error is
The specified resource name cannot be found in the image file. ERROR_RESOURCE_NAME_NOT_FOUND