GetModuleHandle

John Chapman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 22 12:37:34 PDT 2015


On Wednesday, 22 April 2015 at 18:31:20 UTC, Laeeth Isharc wrote:
> Hi.
>
> I am trying to use the Excel API with latest release dmd on Win 
> 32.  It looks like GetModuleHandle isn't in the D windows 
> header anymore.
>
> Should I try to use GetModuleHandleA or B ?
>
> Thoughts?

Import core.sys.windows.windows and pick either GetModuleHandleA 
(ANSI) or GetModuleHandleW (Unicode, preferred).


More information about the Digitalmars-d-learn mailing list