Well, it seems that your WinMain function is missing so you’ve probably created a console app instead of a win32 app.
Create a new project in MSVC and choose for ‘Win32 Application’.
btw. Linking errors are the easiest errors to solve, just have a look at that symbol description from the error: (_WinMain@16) it means that the function WinMain (the compiler usually puts an underscore at the start of every function name) with arguments of 16 bytes in size (4 arguments * 4 bytes) cannot be found.
Another thing which you should know is that console programs have ‘main’ as their starting funtion and win32 programs have ‘WinMain’ as their starting function.
[This message has been edited by richardve (edited 08-08-2001).]