Selasa, 21 September 2010

How is the CommandLineToArgvW function intended to be used ?

The CommandLineToArgvW function does some basic command line parsing. A customer reported that it was producing strange results when you passed an empty string as the first parameter:LPWSTR argv = CommandLineToArgvW(L"", &argc); Well, okay, yeah, but huh?The first parameter to CommandLineToArgvW is supposed to be the value returned by GetCommandLineW. That's the command line, and that's what

Tidak ada komentar:

Posting Komentar