Where can get the Windows 64-bit API for GUI_Libraries?

Frank Like via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Wed Nov 19 01:08:07 PST 2014


On Wednesday, 19 November 2014 at 06:28:20 UTC, FrankLike wrote:
> Now,GUI_Libraries should be migrated from 32-bit to 64 bit,but 
> some info is based on WindowsAPI,so WindowsAPI should be a 
> standard for 64-bit GUI_Libraries.Where can get it?
> Thank you all.

if you compile the dfl Library to 64 bit,you will find error:

core.sys.windows.windows.WaitForMultipleObjects(uint
nCount,void** lpHandles,....) is not callable using argument
types(ulong,void**,...)

the 'WaitForMultipleObjects' Function is in
dmd2/src/druntime/src/core/sys/windows/windows.d

the argument of first is dfl's value ,it come from a 'length'
,it's type is size_t,now it is 'ulong' on 64 bit.

So druntime must keep the same as  phobos for size_t.


More information about the Digitalmars-d-ide mailing list