I need "windowsx.d" Someone can send It to me?

John Chapman johnch_atms at hotmail.com
Sat Sep 26 06:56:10 UTC 2020


On Friday, 25 September 2020 at 15:03:56 UTC, Marcone wrote:
> I need windowsx.d but for I don't know the reason is not in 
> dmd. Someone that have it can send to me? I don't know convert 
> windowsx.h to windowsx.d

windowsx.h is mostly a bunch of macros that forward to functions 
elsewhere in the SDK. Yes, it's handy, but you can get by without 
it in case you don't manage to get it translated to D. Open 
windowsx.h in your editor, find the macro you want to use, look 
across to the right to see what the macro expands to, and use 
that in your code instead.

A lot of the macros that simply cast between HBITMAP, HPALETTE, 
HFONT, HPEN, HGDIOBJ etc are redundant because in D they're all 
just aliases for void*.


More information about the Digitalmars-d-learn mailing list