> That's odd. Is your application compiled with -DUNICODE? BSTR is
> always Unicode, but LPCTSTR depends on the compiled character set. I
> would expect it to be LPCWSTR. However, if it works for
> "obj_2.SubObject.DoSomething", then that's not a problem.
It's compiled with /D "_MBCS" so it sh
On Sep 30, 2016, at 1:01 AM, Dominik Heller wrote:
>
>> That's odd. Is your application compiled with -DUNICODE? BSTR is
>> always Unicode, but LPCTSTR depends on the compiled character set. I
>> would expect it to be LPCWSTR. However, if it works for
>> "obj_2.SubObject.DoSomething", then th