Use UNICODE wWinMain, to make CRT initialize __wargv.

This commit is contained in:
Martin v. Löwis 2008-05-09 17:06:49 +00:00
parent b134227737
commit 66834fd078
1 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
int WINAPI WinMain( int WINAPI wWinMain(
HINSTANCE hInstance, /* handle to current instance */ HINSTANCE hInstance, /* handle to current instance */
HINSTANCE hPrevInstance, /* handle to previous instance */ HINSTANCE hPrevInstance, /* handle to previous instance */
LPSTR lpCmdLine, /* pointer to command line */ LPWSTR lpCmdLine, /* pointer to command line */
int nCmdShow /* show state of window */ int nCmdShow /* show state of window */
) )
{ {