Does anyone know how to make MinGW use WinMainCRTStartup instead of WinMain? With VC it was easy. You just use WinMainCRTStartup instead of WinMain.