On 2015-03-13 21:19:07 +0000, Adam D. Ruppe said:

In the file you want to use it, you can just write

extern(Windows) void OutputDebugStringA(in char*);

and it should work... or whatever the signature is, check msdn, and remember the ones that take strings tend to need A or W for the ascii or Unicode variants.

Hi Adam, thanks that worked. Pretty easy.

Now, just need to check why I don't see any debug output but that's not a DMD issue ;-).

--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster

Reply via email to