NO

Author Topic: main or wmain  (Read 3083 times)

freevryheid

  • Guest
main or wmain
« on: January 22, 2009, 02:02:30 AM »
Hi - a Pelles C newbie question:

I have a win32 console openGL app that links SDL.
I get the following error when trying to build the app:
POLINK: error: Unresolved external symbol '_main'.

This is fixed by changing this:
Code: [Select]
int main(int argc, char **argv)to this:
Code: [Select]
int wmain(int argc, char **argv)
Any particular reason for this?