www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Current Core-Libraries

reply Massenkeiler <Massenkeiler_member pathlink.com> writes:
How can I use more recent win32-libraries with D and is there a way to use the
GDI+  ?
Jul 16 2006
next sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Massenkeiler wrote:
 How can I use more recent win32-libraries with D
More recent than what?
 and is there a way to use the GDI+  ?
GDI+ is C++-based. It ought to be possible to write D bindings - I don't know if anybody's working with it. Stewart.
Jul 16 2006
prev sibling parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
Massenkeiler wrote:
 How can I use more recent win32-libraries with D and is there a way to use the
 GDI+  ?
Both of us should've noticed the thread "GdiPlus" from nearly a week ago.... http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/39949 Hopefully Polis'll share the code with the rest of us.... Stewart.
Jul 16 2006
parent reply Massenkeiler <Massenkeiler_member pathlink.com> writes:
In article <e9dkd6$pcs$1 digitaldaemon.com>, Stewart Gordon says...
Massenkeiler wrote:
 How can I use more recent win32-libraries with D and is there a way to use the
 GDI+  ?
Both of us should've noticed the thread "GdiPlus" from nearly a week ago.... http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/39949 Hopefully Polis'll share the code with the rest of us.... Stewart.
No I didn't notice it, but I've made new import-libraries of the current Win32-DLLs by using the .exp-files of LCC and making a UNIX-Script to change for example _MessageBoxW 16 to _MessageBoxW 16 = MessageBoxW Now it works and also with the gdiplus.dll, although I cannot use it without ported headers
Jul 20 2006
parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Massenkeiler wrote:
<snip>
 No I didn't notice it, but I've made new import-libraries of the current
 Win32-DLLs by using the .exp-files of LCC and making a UNIX-Script to change
for
 example
 
 _MessageBoxW 16
 to
 
 _MessageBoxW 16 = MessageBoxW
<snip> By the way, there's a project underway to translate the Windows API headers into D: http://www.prowiki.org/wiki4d/wiki.cgi?WindowsAPI Stewart.
Jul 20 2006