Re: [GD-DEVEL] Problems using the .dll

From: Date: Tue, 17 Apr 2007 14:50:38 +0000
Subject: Re: [GD-DEVEL] Problems using the .dll
References: 1 2  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-178@lists.php.net to get a copy of this message
On 4/17/07, Pierre <pierre.php@gmail.com> wrote:
Hi Nuno, On 4/17/07, Nuno Centeio <ncenteio@wit-software.com> wrote: 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); Do you use VC6 or a later version? These binaries are built using VC6, it may cause troubles if they are used with a different runtime (msvcrt).
I misread your first paragraph. It is the cause of this problem. Building gd yourself should solve this problem. --Pierre

« previous php.gd.devel (#178) next »