Runtime error using C++ API DLL

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
tnarol

Runtime error using C++ API DLL

Post by tnarol »

Hi,

I've downloaded ImageMagick-6.5.3-10-Q16-windows-dll.exe, imported the Magick++ Demo in my Visual Studio 2005 IDE. I could successfully build the projects, but the program fails at runtime dispaying an error message : "R6034 An application has made an attempt to load the C runtime library incorrectly...". Same thing happens if I write my own simple program using Magick++ classes. Can you tell what's the problem ?

Many thanks
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Runtime error using C++ API DLL

Post by magick »

Go to c:\Program Files\ImageMagick-6.5.3-Q16\Magick++_Demos and launch the Button workspace. Build and run. Assuming that is successful, use the Button workspace as a model for your own project.
tnarol

Re: Runtime error using C++ API DLL

Post by tnarol »

Thanks, I fixed it just by installing VC++ 2008 SP1 Redistributable package
Post Reply