On Saturday, 20 April 2013 at 03:26:29 UTC, Diggory wrote:
- win32.windows:
Apparantly out of date and gives linker errors, although it does declare all the functions needed.

you are doing it wrong. first you will need mingw32-make from mingw default setup, second fix win32 bindings makefile around line 25 so it will looks like this(supported file don't have uuid.di outdated interface file included):

win32.lib : $(SOURCES)
        $(DC) $^ -lib -of$@ uuid.di $(DFLAGS)

use mingw make to compile win32 bindings(they are not bindings actually but a D language translation), you will get dmd ready win32.lib file.

setup import search path to win32 bindings path, link with win32.lib, AND(!) add any version identifier from w32api.d(by default makefile assumes you will do "WindowsVista" version, it's mostly safe to still use on XP but i would suggest recompile for production build.


now you will get all you missing!!!!

Reply via email to