Re: [GD-DEVEL] Using GD with D

[email protected] (Pierre)
Newsgroups php.gd.devel
Message-ID <[email protected]>
Hi,

On 2/24/07, Alexander Brock <[email protected]> wrote:
> Hello,
>
> I'm trying to use GD in a D program,
> but I always get an error when I try to use gdImagePng:
> "Error: Access Violation"

Does it work using 2.0.33 dlls?

> I use WinXP, Digital Mars D Compiler 1.007
> (http://www.digitalmars.com/d/), D-Bindings from
> http://www.algonet.se/~afb/d/gd.zip
> and the latest Windows-GD-DLL.

Where did you get these dlls? From http://www.libgd.org/releases/ ?

> I can compile the program:
> dmd -v example.d bgd.lib
>
> bgd.lib was generated by implib which is included in DMD.

You are talking chinese right now ;-)

Do you have some pointers on these tools and what should be done to
install and test D? (I can dig their site but I'm lazy today :).

By the way, have you tried to ask the D-GD author?

--Pierre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.