Thread overview
GetModuleHandle
Apr 22, 2015
Laeeth Isharc
Apr 22, 2015
John Chapman
Apr 22, 2015
Laeeth Isharc
April 22, 2015
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?
April 22, 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).
April 22, 2015
On Wednesday, 22 April 2015 at 19:37:35 UTC, John Chapman wrote:
> 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).

Thank you.