title: Difference between WinMain and wWinMain
body: <p>The only difference is that Winmain takes char* for lpCmdLine parameter, while wWinMain takes wchar_t*. </p>
  
  <p>On Windows XP, if an application entry is WinMain, does Windows convert the command line from  Unicode to Ansi and pass to the application?</p>
  
  <p>If the command line parameter must be in Unicode (for example, Unicode file name, conversion will cause some characters missing), does that mean that I must use wWinMain as the entry function?</p>