Hi, I am a begginer in C++ and I want to draw an image in my form. I mean, I want to have a bitmap in the form's background. I am not using MFC, it's just a win32 application. What I've done so far is this:
In my project.rc file I just wrote this:
BALLBMP BITMAP "15.bmp"
In my project.cpp this is the code:
hbmBall = LoadBitmap(hInstance, "BALLBMP");
itoa(GetLastError(),uo,10);MessageBox(NULL,"no se cargo el icono",uo,MB_OK);}
When I run the program, I get an error number 1814 (The specified resource name cannot be found in the image file).
What am I doing wrong?