Is there any bettter solution to Windows wide string

Vinod K Chandran kcvinu82 at gmail.com
Sun May 9 14:24:48 UTC 2021


On Sunday, 9 May 2021 at 09:34:00 UTC, FreeSlave wrote:

>
> You may try using tempCStringW from std.internal.cstring. It 
> uses small string optimization. However the api is internal, so 
> I'm not sure how valid it is to use this function. The returned 
> struct is a temporary buffer so you must ensure that you don't 
> escape dangling pointers.

Thanks for the reply. Let me check. :)


More information about the Digitalmars-d-learn mailing list