digitalmars.D.learn - Using the Windows headers with Unicode
- Straivers (19/19) Jan 08 2016 So I've been trying to create a window, and have been working my
- Rikki Cattermole (3/21) Jan 08 2016 Are you using the latest version of druntime?
- Steaivers (1/1) Jan 08 2016 I see. I guess I need to pay more attention then. Thanks
So I've been trying to create a window, and have been working my
way through the MSDN tutorials. However, I have always had to
specifically specify if I was using either the Unicode or ANSI
version of a struct or function. Looking through the druntime
code (especially winuser.d), it appears that one should be able
to simply set a Unicode version identifier when compiling, be it
with dub or without. I've included the relevant portion of my
.dub file below along with the commands I have used. What am I
doing wrong?
"versions":["Unicode"],
"configurations": [
{
"name": "dev",
"versions":["debugMode", "debugInfo", "unittests"],
}
],
...
dub --config=dev
Thank you for your time.
Jan 08 2016
On 09/01/16 4:44 PM, Straivers wrote:
So I've been trying to create a window, and have been working my way
through the MSDN tutorials. However, I have always had to specifically
specify if I was using either the Unicode or ANSI version of a struct or
function. Looking through the druntime code (especially winuser.d), it
appears that one should be able to simply set a Unicode version
identifier when compiling, be it with dub or without. I've included the
relevant portion of my .dub file below along with the commands I have
used. What am I doing wrong?
"versions":["Unicode"],
"configurations": [
{
"name": "dev",
"versions":["debugMode", "debugInfo", "unittests"],
}
],
...
dub --config=dev
Thank you for your time.
Are you using the latest version of druntime?
Because 2.070 will be the first release with this support.
Jan 08 2016
I see. I guess I need to pay more attention then. Thanks
Jan 08 2016








Steaivers <straivers98 gmail.com>