www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - GetModuleHandle

reply "Laeeth Isharc" <nospamlaeeth nospam.laeeth.com> writes:
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?
Apr 22 2015
parent reply "John Chapman" <johnch_atms hotmail.com> writes:
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).
Apr 22 2015
parent "Laeeth Isharc" <nospamlaeeth laeethnospam.com> writes:
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.
Apr 22 2015