Thread overview
64bit window headers
Jun 16, 2013
new
Jun 17, 2013
Ali Çehreli
Jun 17, 2013
PewPew
Jun 17, 2013
Mike Parker
Jun 17, 2013
new
June 16, 2013
hi,
are there any 64bit windows header files availabe?
June 17, 2013
On 06/16/2013 09:44 AM, new wrote:
> hi,
> are there any 64bit windows header files availabe?

I don't think header files differ that way. Also, the are no header files in D, but "modules".

Ali

June 17, 2013
On Sunday, 16 June 2013 at 16:44:59 UTC, new wrote:
> hi,
> are there any 64bit windows header files availabe?

You can use win api directly.

32/64 bit handled by defines, __WIN32__ etc.
FucnA - for 32 bit, FuncW - for 64 bit.

In D: version(...){ ... }

June 17, 2013
On Monday, 17 June 2013 at 07:46:46 UTC, PewPew wrote:

>
> 32/64 bit handled by defines, __WIN32__ etc.
> FucnA - for 32 bit, FuncW - for 64 bit.

This is wrong. The *A functions deal with ascii strings, whereas the *W functions deal with unicode strings. Functions that neither return nor accept strings do not have A/W variants.

Also, __WIN32__ does not indicate a 32-bit platform. Traditonally, it referred to the Win32 API, which once upon a time did mean a 32-bit platform, but officially that API is now referred to as the "Windows API", a combination of Win32 and Win64. __WIN32__ is always defined even on 64-bit Windows. You can read more about the difference here at the MS technet[1].

Essentially, any Win32 API modules created to interface D with that API can be used on both 32- and 64-bit. The functions are the same.

[1] http://technet.microsoft.com/en-us/library/bb496995.aspx

June 17, 2013
thank you all for your help.