News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

main or wmain

Started by freevryheid, January 22, 2009, 02:02:30 AM

Previous topic - Next topic

freevryheid

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:
int main(int argc, char **argv)
to this:
int wmain(int argc, char **argv)

Any particular reason for this?