Kaydet (Commit) 66834fd0 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Use UNICODE wWinMain, to make CRT initialize __wargv.

üst b1342277
...@@ -5,10 +5,10 @@ ...@@ -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 */
) )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment