From: Martin v. Löwis Date: Fri, 9 May 2008 17:06:49 +0000 (+0000) Subject: Use UNICODE wWinMain, to make CRT initialize __wargv. X-Git-Tag: v3.0b1~426 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66834fd0784a8655b8939241d3d79f654a50803b;p=thirdparty%2FPython%2Fcpython.git Use UNICODE wWinMain, to make CRT initialize __wargv. --- diff --git a/PC/WinMain.c b/PC/WinMain.c index c334a03d2ebe..e439bed9ed11 100644 --- a/PC/WinMain.c +++ b/PC/WinMain.c @@ -5,10 +5,10 @@ #define WIN32_LEAN_AND_MEAN #include -int WINAPI WinMain( +int WINAPI wWinMain( HINSTANCE hInstance, /* handle to current 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 */ ) {