When is the Win API supported?
Vladimir Panteleev via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 25 10:18:48 PST 2016
On Monday, 25 January 2016 at 18:09:47 UTC, Igor wrote:
> On Monday, 25 January 2016 at 02:21:49 UTC, Rikki Cattermole
> wrote:
>> On 25/01/16 2:46 PM, Igor wrote:
>>> When will the proper Win API be included in D? About how
>>> long(months,
>>> years?)? Does it support seamless narrow and wide characters?
>>>
>>> I am not referring to the defunct win32 support already
>>> included.
>>
>> You mean the MingW based bindings that is in 2.070?
>> https://github.com/D-Programming-Language/druntime/tree/v2.070.0-b2/src/core/sys/windows
>>
>> The only issue is for -m32 with import libs.
I've included the .def files that came with the Win32 bindings,
and added them to the build, so many import libs will be
supported already.
> How do I use it? I can't find any docs on it(The D page, at
> least doesn't seem to have anything for windows in phobos
> except charset.
When in C you would `#include <foo.h>`, in D you can `import
core.sys.windows.foo;`, then just use it exactly like from C.
More information about the Digitalmars-d
mailing list