View mode: basic / threaded / horizontal-split · Log in · Help
July 16, 2006
Current Core-Libraries
How can I use more recent win32-libraries with D and is there a way to use the
GDI+  ?
July 16, 2006
Re: Current Core-Libraries
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.
July 16, 2006
Re: Current Core-Libraries
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.
July 20, 2006
Re: Current Core-Libraries
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
July 20, 2006
Re: Current Core-Libraries
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.
Top | Discussion index | About this forum | D home