Problems using the .dll
| From: | Nuno Centeio | Date: | Tue, 17 Apr 2007 09:38:55 +0000 |
| Subject: | Problems using the .dll | ||
| Groups: | php.gd.devel | ||
| Request: | Send a blank email to php-gd-devel+get-175@lists.php.net to get a copy of this message | ||
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