Convert wchar* to wstring?

Rene Zwanenburg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 5 00:59:02 PDT 2016


On Tuesday, 5 April 2016 at 01:21:55 UTC, Thalamus wrote:
> I'm sorry for this total newbie question, but for some reason 
> this is eluding me. I must be overlooking something obvious, 
> but I haven't been able to figure this out and haven't found 
> anything helpful.

In case you haven't done so already, you'll also have to use 
CharSet = CharSet.Unicode in the DllImport attribute.


More information about the Digitalmars-d-learn mailing list