#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <windowsx.h>
int WINAPI WinMain(HINSTANCE hinstance,
HINSTANCE hprevinstance,
LPSTR lpcmdline,
int ncmdshow)
{
MessageBox(NULL, "What's up world!",
"My First Windows Program",MB_OK);
return(0);
}
does anyone have any ideas the code trys to create a windows box that say's what's up world
when i compiled this code it came up with all of this warning stuff like
warning W8057 prog3_2.cpp 19: Parameter 'hinstance' is never used in function __stdcall WinMain<HINSTANCE__*,HINSTANCE__*,char *,int>
and also
Error nresolved external '_main' refenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
any idea's