Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I write script in VBScript for converting images. It use ImageMagic ActiveX. I write this script in Windows XP, it's run normaly, the same with Windows Vista 32bit, but in 64bit I have 800A01AD error when trying to create ActiveX object (both 32bit and 64bit have the same service pack installed)

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

I try to install ImageMagic as Admin (run as Administrator in Context Menu), I also try to run as Administrator:

regsvr32 wshom.ocx
regsvr32 scrrun.dll

with no success. And also try to run

regsvr32 ImageMagickObject.dll

Which run sucessfully but script still return error (the same as test script from ImageMagic)

share|improve this question
up vote 1 down vote accepted

Given that the script runs on two 32-bit machines but not on the 64-bit one, it seems like a 32/64bit problem.

A little background: a 64-bit process (Application) can not load 32-bit DLL/OCX etc. and a 32-bit process can not load 64-bit DLL/OCX etc. files.

I’m assuming that one of the following is happening:

1) You have installed the 64-bit version of ImageMagick and try to access it from the 32-bit Script environment.

2) You have installed the 32-bit version of ImageMagick and try to access it from the 64-bit Script environment. See this SO question for a solution for this scenario.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.