SendMessageTimeoutW requires casting string to uint?
Dejan Lekic
dejan.lekic at gmail.com
Tue Jul 9 11:08:15 UTC 2019
On Tuesday, 9 July 2019 at 11:06:54 UTC, Dejan Lekic wrote:
>
> std.utf module has all encoding/decoding you need (in this case
> UTF-16). I guess You need to convert your string using toUTF16
> ( https://dlang.org/phobos/std_utf.html#toUTF16 ). I do not do
> Windows programming so I am not 100% sure whether this will
> work or not. Give it a try.
Maybe even the straightforward to!wchar will work!?
More information about the Digitalmars-d-learn
mailing list