Hi there,

I'm in troubles while trying to use IM 6.2.8 with Visual Studio 2005. I've already plenty of code examples that work fine under IM 6.2.1 and VC++6 but I just can't get the same code working with VC 8... I've first tried to download and compile IM 6.2.8 as a multi threaded dll with a quantum of 16. As it is explained somewhere in the community issues, all works fine except for some projects named UTIL. After having done this, i've included Magick++ in my librairies and sets up the paths to libs, dlls and .h.

Then, I tried to initializeMagick() and to load an jpeg image with Image i(jpegFilename); but it gives me an unhandled exception message : "Unhandled Exception at 0x074ca7ab in testCPM2.exe : 0xC0000005: Access violation while reading memory at 0xcccccccc."

This exception is not an IM exception as I catch'em... the image is a real one... the path I give is correct...

I've next tried a lot a things such as adding the IM directory in the Path environment variable, calling explicitly that directory in initializeMagick(), adding the preprocessor item _IMAGEMOD_ in my project config and last, i've downloaded IM windows binaries to try with but it gives me the same result...

Could somebody give me a clue ?

Hope everybody of us will have a great week end,

Best regards,
--

Farouk CHOULAK
CGIN - Compagnie Générale d'Imagerie Numérique
22, avenue Antoine Becquerel
33600 PESSAC, France
Tel: +33 5 57 89 14 50
Fax: +33 5 57 89 14 51
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to