Unhandled Exception

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Bunkai.Satori
Posts: 9
Joined: 2010-10-06T04:05:37-07:00
Authentication code: 8675308

Unhandled Exception

Post by Bunkai.Satori »

Dear all,

I have installed "ImageMagick-6.6.4-9-Q16-windows-dll.exe". After linking both the .dlls and .libs(not sure if this is the right approach), I was able to get the application compiled successfully.

According to the doccumentation (http://www.imagemagick.org/Magick++/tut ... torial.pdf), I decided to load a test image for further processing:

Code: Select all

#include <Magick++.h>
int _tmain(int argc, _TCHAR* argv[])
{
    Image my_image;
    my_image.read("D:\\Test.png"); // I get Unhandled Exception here
}
However, during debug session I get Unhandled exception when trying to read from the .png image, as follows:
Unhandled exception at 0x73960aa2 (msvcr100.dll) in SpriteCoordinator.exe: 0xC0000005: Access violation reading location 0x00440000.

I use:
  • Windows 7 x64
  • MS Visual Studio 2010
  • ImageMagick-6.6.4-9-Q16-windows-dll.exe
  • I DO NOT use UNICODE
  • The mage file is small RGBA file that I can easily open in Photoshop
What can be wrong?
Thank you.
Post Reply