Page 1 of 1

Runtime error using C++ API DLL

Posted: 2009-06-22T03:33:28-07:00
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

Re: Runtime error using C++ API DLL

Posted: 2009-06-22T06:11:30-07:00
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.

Re: Runtime error using C++ API DLL

Posted: 2009-06-24T01:28:04-07:00
by tnarol
Thanks, I fixed it just by installing VC++ 2008 SP1 Redistributable package