On 8/31/17 12:12 PM, Andre Pany wrote:
Hi,
I have some problems to find out what to use instead of the deprecated
toUTF16 function.
I am calling a shared library written in Delphi.
While this coding is working fine (with german ü)
import std.utf: toUTF16;
wstring ws = toUTF16(s);
BSTR bStr =
On Thursday, 31 August 2017 at 17:22:51 UTC, Kagamin wrote:
import std.conv;
auto ws=s.to!wstring;
Thank you!
Kind regards
André
import std.conv;
auto ws=s.to!wstring;
Hi,
I have some problems to find out what to use instead of the
deprecated toUTF16 function.
I am calling a shared library written in Delphi.
While this coding is working fine (with german ü)
import std.utf: toUTF16;
wstring ws = toUTF16(s);
BSTR bStr = SysAllocStringLen(ws.ptr, cast(UINT) ws