Update winmain.cpp