used my own Winmain  and windows code