16 Jul
2007
16 Jul
'07
7:50 a.m.
zh wrote:
Vladimir Prus wrote:
<cut />
Sorry for the delay; I was away from my computer for a couple of days. So, I even tried your solution before you mentioned it (following the online manual for Program Options, I presume) and it didn't work.
1. Replace char* argv[] with wchar_t *arv[]. 2. Use 'wstring' as the type of your options, not 'string'.
You also need to change the string literals: "You have this" L"You should have this" // Note the L in front of the string K