ImageMagickObject: Cannot create object

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
mhorton

ImageMagickObject: Cannot create object

Post by mhorton »

I have used ImageMagickObject happily without any problems with classic ASP and IIS on Windows XP.

Recently I upgraded the version of ImageMagick to ImageMagick-6.5.8-10-Q16-windows-static.exe

Since then I can run the ImageMagickObject samples using cscript and my own script(s) but as soon as I try and create an object variable in classic ASP using:

Set img = CreateObject("ImageMagickObject.MagickImage.1")

I get:

Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'ImageMagickObject.MagickImage.1'

Having a look at the dependencies of ImageMagickObject.dll it has references to the following DLLs which are missing on my system.

ieshims.dll
wer.dll

I have tried downloading copies of these DLLs from the Net but I still end up with the same error.

Does someone have a set of dependency DLLs that match for ImageMagickObject.dll that I can download?

TIA,
Mark
jumpjack
Posts: 69
Joined: 2010-12-10T05:29:16-07:00
Authentication code: 8675308

Re: ImageMagickObject: Cannot create object

Post by jumpjack »

After installing the .MSI executable, even specifying to install the VB come objects, I had to manually enter the command:

Code: Select all

regsvr32 F:\programmi\grafica\ImageMagick-6.6.6-Q16\ImageMagickObject.dll
Post Reply