Link error 42 (WinApi)

ref2401 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 15 23:29:39 PST 2016


On Tuesday, 16 February 2016 at 06:22:33 UTC, Rikki Cattermole 
wrote:
> Found the problem, you haven't linked against gdi.

Thank you It works. I should have done this:

set filesToUse=main.d gdi32.lib
dmd @filesToUse -ofconsole-app.exe -debug -unittest -wi


More information about the Digitalmars-d-learn mailing list