What's up with the windows headers?

FrankLike via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 4 06:58:22 PST 2015


On Friday, 2 January 2015 at 14:27:11 UTC, Jack wrote:
> For newcomers doing the jump from C++ to D and current D users, 
> wanting to program on windows, the missing windows import files 
> are like a major step back. In C++ you got the full headers & 
> stuff - ready to use.
>
> The incomplete 'core.sys.windows.windows' isn't enough and 
> sometime interferes with the necessary definitions you do on 
> your own since you are forced to do it.
>
> This way to exclude most windows users and thats where you 
> might win a lot of new programmers, due to the nice support via 
> Visual D.
>
> Is that on the agenda/road map?

Re: What's up with the windows headers?

You can look at this:

https://github.com/FrankLIKE/WindowsServiceInD/tree/master/src/onedge/win32

Here not have the '_WIN32_WINNT_ONLY' in winbase.d and other d 
file ,no trouble in here.

Frank


More information about the Digitalmars-d mailing list