Error c0x32.obj

I am getting a compile error from unresolve external reference from _main in c0x32.obj. I am trying to compile one of NeHe’s tutorials using BC++5. Under the WinAPI I thought Main didn’t have to be declared for a screensaver, just the three API functions.

A screen saver is just a Windows application which has a .SCR extention, and accepts command line arguments explaining what’s supposed to happen. Therefore, all you really need is your WinMain function. Chances are, _main in c0x32.obj is trying to find WinMain, and failing. There’s a nice website out there on Windows Screen Saver Programming (sparing the guy’s horrible coding principles) at [http://www.wischik.com/scr/](http://www.wischik.com/scr/\) . It’s a bit outdated for some of it, but it’s still accurate.

[This message has been edited by Nychold (edited 02-20-2004).]