d-widget-toolkit / org.eclipse.swt.win32.win32.x86

5 stars 6 forks source link

Building for x86_64 #21

Open etcimon opened 9 years ago

etcimon commented 9 years ago

I've gotten this to build on -m64 by casting everything to int where necessary, with dub. I'm getting a null handle in createHandle and a 0 error code though. Is there a lot of work involved on making this actually work in x64?

jacob-carlborg commented 9 years ago

The 64bit support was recently added to the Linux port. Currently I'm spending all time I've dedicated for DWT on a tool, JPort, that will automatically port the Java code to D. The goal of this tool is to handle Windows, Linux and OS X, 32 and 64bit versions of all platforms.

I'm not sure if someone else is working on manually updating the code for 64bit.

To me it doesn't make sense any more to do this work manually. It takes too much time just keeping the code we have working. Updating the code base to later versions of SWT is not event on the radar, when doing it manually.