Guys, which is better ? LoadBitmap() or LoadImage(), i understand LoadImage has more options like specifying the width and height, but how do i store it ?
but an error came out
image = LoadImage(0,MAKEINTRESOURCE(IDB_BITMAP),IMAGE_BITMAP,50,50,LR_VGACOLOR);
And am i using the right value LR_VGACOLOR for resource type.
G:\C++\Task\task.cpp(21) : error C2440: '=' : cannot convert from 'void *' to 'struct HBITMAP__ *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast