December 11, 2004
I have a project where I have a generic WinMain entry routine exported from a static library.  The WinMain is defined in the import file but the compile will fail as it fails to pick up the winmain in the import and therefore does not attempt to create a windows exe. (only under -release, it works in -debug?)  There is a work around to just define a dummy winmain function in the main source file.  Shouldn't the compiler identify the imported winmain or if not how about a compiler switch to force a windows exe?