I am delving into Windows API programming using Borland's compiler.
When I try to compile sample programmes - for example:
there is an error message
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
MessageBox(NULL, "Hello World!", "Message", MB_OK);
Error: Unresolved external '_main' referenced from C:\BORLAND\BCC55\LIB\C0X32.OBJ
Can anyone advise me what this actually means and how I can set up the compiler to compile Windows programmes?
Grateful for any help.