marky
2008-03-06 12:50:16 UTC
Hi.
Not sure if this is the right place to ask but here goes anyway.
The following takes place on WinXP SP2 ENU + Microsoft Visual C++ .NET
2003 version 7.1.3088.
Consider a sample MFC project with default settings via
File|New|Project...|Visual C++ Projects|MFC Application
If I go to Project Properties, under 'Debugging' and enter some
Unicode characters in 'Command Arguments' they are not sent
correctly to the application. At least not according to the debugger.
Hitting F11 to step into AfxWinMain, most non-ASCII characters
are replaced with question marks '?'.
I did #define both UNICODE and _UNICODE and set the program entry point
to wWinMainCRTStartup.
How to go about supporting Unicode command line arguments in an MFC app?
Thx,
marky
Not sure if this is the right place to ask but here goes anyway.
The following takes place on WinXP SP2 ENU + Microsoft Visual C++ .NET
2003 version 7.1.3088.
Consider a sample MFC project with default settings via
File|New|Project...|Visual C++ Projects|MFC Application
If I go to Project Properties, under 'Debugging' and enter some
Unicode characters in 'Command Arguments' they are not sent
correctly to the application. At least not according to the debugger.
Hitting F11 to step into AfxWinMain, most non-ASCII characters
are replaced with question marks '?'.
I did #define both UNICODE and _UNICODE and set the program entry point
to wWinMainCRTStartup.
How to go about supporting Unicode command line arguments in an MFC app?
Thx,
marky