Page 1 of 1

Error on every command

Posted: 2014-06-19T15:15:04-07:00
by chiaravel
Hi,

I'm using VB 6.0, I has refered this ImageMagick dll and I use this as follow

Code: Select all

Public Sub Convert
     Dim ImgX as Object

     Set ImgX = CreateObject("ImageMagickObject.MagickImage.1")
     ImgX.Convert "c:\chf.bmp", "-resize=724x300", "c:\chf.jpg"
End Sub
And I had this Error

Error -2147215503 (80041771) en tiempo de ejecucion

This Error appears with every Convert choice

What's wrong ?

Best Regards

Pablo

Re: Error on every command

Posted: 2014-07-22T11:52:50-07:00
by spieler
Since you're running from VB6, you may need to install the 32 bit version and not the 64 bit version.