OutputDebugString()
Robert M. Münch via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Mar 14 09:49:10 PDT 2015
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
More information about the Digitalmars-d-learn
mailing list