Page 1 of 1

Unhandled Exception

Posted: 2010-10-06T04:49:54-07:00
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.