PDA

View Full Version : unresolved external symbol _WinMain@16



06-26-2002, 06:42 PM
hi! I'm trying to do a simple openGL application with visual c++ and I get this error message..... What can I do?

yakuza
06-27-2002, 09:46 AM
This is better asked in the "Beginner Coding" forum, you'll get better responses there.

Basically, you've set up your project as a win32 application, which expects Winmain() function instead of main(). Either create your project as a console app, or change your main() to winmain().