I'm using Visual C++ 2005 Express.
In my solution I have 2 projects, a static library project and a executable project.
The problem starts because I need WinMain() inside the static library to remove almost all the platform specific code from the executable project.
How you set the entry point on the executable project to the WinMain() inside the static library?