On Thursday, 12 November 2015 at 15:58:53 UTC, Jonathan M Davis wrote:
On Thursday, November 12, 2015 05:08:24 Mike Parker via

version=Unicode on the compiler command line.

It seems pretty wrong for the A versions to be the default though...

Still, even in C++ code, I've generally taken the approach of using the W functions explicitly in order to avoid any potential problems with A functions being called accidentally. Regardless, the whole A vs W thing with Win32 is not exactly one of its nicer features. :|

- Jonathan M Davis

I've gotten into the same habit. But it appears the switch to dynamic loading has made it so that only the A versions or only the W versions are available. You no longer get both.

https://github.com/D-Programming-Language/druntime/blob/master/src/core/sys/windows/w32api.d#L85

Reply via email to