Programming Windows D Examples are now Online!

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Jul 9 07:19:19 PDT 2011


On 7/9/11, Johannes Pfau <spam at example.com> wrote:
> //Use Andrej Mitrovic's API from
> //https://github.com/AndrejMitrovic/DWindowsProgramming/tree/master/win32
> version(EXT_WIN32_BINDINGS)
> {
>     import win32.windef;
>     import win32.wingdi;
> }

That's not my API, it's from this project:
http://dsource.org/projects/bindings/wiki/WindowsApi
Also the imports were just demonstrative, I'd have to find out exactly
which modules your library needs (I think it only needs HDC and some
HFONT definitions, because I've had to do the same for my direct C
bindings).

Otherwise I guess that might work.


More information about the Digitalmars-d-announce mailing list