Problems using the .dll

[email protected] (Nuno Centeio)
Newsgroups php.gd.devel
Message-ID <[email protected]>
Hi!

I'm new to GD and I want to test it.

I've downloaded gd-2.0.34-win32.zip so that I can use it on my project.
I've created a new project on Visual Studio 2005.

Add the gd include/ directory to my project and also the lib/ directory.

It all compiles and links fine.


When I'm running the application I get the error:

(...)
'Teste2.exe': Loaded 'E:\MyProjects\Teste2\debug\bgd.dll', Binary was 
not built with debug information.
(...)
First-chance exception at 0x7c918fea in Teste2.exe: 0xC0000005: Access 
violation writing location 0x00000010.
Unhandled exception at 0x7c918fea in Teste2.exe: 0xC0000005: Access 
violation writing location 0x00000010.


This exception happens somewhere in this line:
  gdImagePng(im, pngout);




Anyone can give me a hint on this?
Or how can I compile the .dll myself?


Thanks
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.