WinAPI for druntime and OpenGL for deimos.

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Nov 23 03:52:22 PST 2012


On 11/23/12, Gor Gyolchanyan <gor.f.gyolchanyan at gmail.com> wrote:
> 2. It uses version identifiers to determine the, you guessed it, version of
> Windows in question. This is very bad, since it won't compile without at
> least some version identifiers and I'm sure we can make the OS version
> available at compile-time to obviate the need for those version
> identifiers.

The identifiers you typically need to pass is the unicode and windows
specs, e.g.:
-version=Unicode -version=WindowsXP

The reason you need to pass the Windows version is because you might
want to limit compilation to only certain platforms.

The bindings work ok for me, here's one project where I use them:
https://github.com/AndrejMitrovic/DWinProgramming


More information about the Digitalmars-d mailing list