[Posted this a couple of days ago on the 'Windows COM objects' board. Anyone listening?]
I cannot register the ImageMagickObject.
- I am using Win 7 64bit
- ImageMagick-6.6.7-Q16 installed from ImageMagick-6.6.7-3-Q16-windows-x64-dll.exe.
- The auto registration during install failed (silently...)
- Manual registration from the command prompt as Administrator gives the following error message:
"The module "ImageMagickObject.dll" may not be compatible with the version of Windows that you are running..."
Both versions of regsvr32.exe produce the same message.
ImageMagickObject does not register on Windows 7 64
-
- Posts: 4
- Joined: 2011-01-28T08:50:16-07:00
- Authentication code: 8675308
Re: ImageMagickObject does not register on Windows 7 64
I've had the same problem. I've installed VC++ redistributable packages (see the comment at the very bottom: http://www.imagemagick.org/script/binar ... hp#windows ). Later I registered library without problems (from cmdline as administrator), but although I see that ActiveX in regedit (and I can select it as reference in VBA), when used in my script I am getting Can't create object error. So that registration seems to be broken as that library doesn't work properly. Restart doesn't help
-
- Posts: 4
- Joined: 2011-01-28T08:50:16-07:00
- Authentication code: 8675308
Re: ImageMagickObject does not register on Windows 7 64
Thanks, honyk. Installing the C++ libraries fixed the registration problem, but I am now stuck in the same place as you, with "Cannot instantiate oImageMagick: Automation server can't create object" message.
I'm using JScript and the equivalent call is: "oImageMagick = new ActiveXObject("ImageMagickObject.MagickImage.1");"
According to the Registry, the programID is "ImageMagickObject.MagickImage.1", which seems OK. Haven't tried with the CLSID yet.
I'm using JScript and the equivalent call is: "oImageMagick = new ActiveXObject("ImageMagickObject.MagickImage.1");"
According to the Registry, the programID is "ImageMagickObject.MagickImage.1", which seems OK. Haven't tried with the CLSID yet.
Re: ImageMagickObject does not register on Windows 7 64
I suspect there are missing some additional dependency libraries in my system. Could anybody bring more light into this?
Re: ImageMagickObject does not register on Windows 7 64
I've tried Dependency walker http://www.dependencywalker.com/ and ImageMagickObject.dll seems to be 32-bit ! Could it be fixed soon?
Re: ImageMagickObject does not register on Windows 7 64
Sorry for misleading post sent before (32bit on 64bit Win). I've tried to install the last build (6.6.7-5) and everything works fine now.
-
- Posts: 4
- Joined: 2011-01-28T08:50:16-07:00
- Authentication code: 8675308
Re: ImageMagickObject does not register on Windows 7 64
Just tried with ImageMagick-6.6.7-6-Q16-windows-x64-dll.exe and it still doesn't work for me.
- I still have to do a manual registration with regsvr32.exe.
- Still get the same error message.
I'm giving up - just can't be bothered with this anymore. It is really not worth the trouble since the implementation of the object is so primitive.
You are in effect just passing the command line string to the relevant method as one huge string argument. If I need to parameterize properly I'll use one of the other APIs, but until then I'll just use the command line.
- I still have to do a manual registration with regsvr32.exe.
- Still get the same error message.
I'm giving up - just can't be bothered with this anymore. It is really not worth the trouble since the implementation of the object is so primitive.
You are in effect just passing the command line string to the relevant method as one huge string argument. If I need to parameterize properly I'll use one of the other APIs, but until then I'll just use the command line.