Boost logo

Boost Users :

From: Kirit Sælensminde (kirit.saelensminde_at_[hidden])
Date: 2007-07-16 03:50:17


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net