Hi,
I've made an application that uses ImageMagick to convert jpg images into other image formats. I've been able to install the COM and use it within Visual Studio and .Net. Everything works perfectly, but when I try tu use my application in another computer, this error raises:
"Retrieving the COM class factory for component {5630BE5A-3F5F-4BCA-A511-AD6A6386CAC1} failed due to the following error: 80040154"
I suppose that's because I haven't registered the ImageMagickObject.dll. The problem is that I can't. I get this error:
"The module some.dll failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. The specified module could not be found"
I've been searching information and it seems this is maybe because some dlls on which ImageMagickObject.dll depens are missing. I've tried to use Dependency Walker to find out which these dlls are, but I also get an error here:
"Could not find the section that owns the Import Directory"
I'm completely lost. Anyone has a clue?
Anna
ImageMagickObject.dll registration failure
Re: ImageMagickObject.dll registration failure
I have the same issue on XP. Can't register ImageMagickObject.dll
On XP the equivalent error is as follows:
---------------------------
RegSvr32
---------------------------
LoadLibrary("C:\Program Files\ImageMagick-6.8.2-Q8\ImageMagickObject.dll") failed - The specified module could not be found.
---------------------------
OK
---------------------------
SysInternals Dependancy Walker tells me it wants to load the following files from the same folder but none of these exist in my installation:
IM_MOD_RL_AAI_.DLL
IM_MOD_RL_ART_.DLL
IM_MOD_RL_AVS_.DLL
IM_MOD_RL_BMP_.DLL
IM_MOD_RL_BRAILLE_.DLL
IM_MOD_RL_CALS_.DLL
IM_MOD_RL_CAPTION_.DLL
IM_MOD_RL_CIN_.DLL
IM_MOD_RL_CIP_.DLL
IM_MOD_RL_CLIP_.DLL
IM_MOD_RL_CLIPBOARD_.DLL
IM_MOD_RL_CMYK_.DLL
IM_MOD_RL_CUT_.DLL
IM_MOD_RL_DCM_.DLL
IM_MOD_RL_DDS_.DLL
IM_MOD_RL_DEBUG_.DLL
IM_MOD_RL_DIB_.DLL
IM_MOD_RL_DNG_.DLL
IM_MOD_RL_DPX_.DLL
IM_MOD_RL_EMF_.DLL
IM_MOD_RL_EPT_.DLL
IM_MOD_RL_FAX_.DLL
IM_MOD_RL_FD_.DLL
IM_MOD_RL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MOD_RL_RAW_.DLL
IM_MOD_RL_RGB_.DLL
IM_MOD_RL_RLA_.DLL
IM_MOD_RL_RLE_.DLL
IM_MOD_RL_SCR_.DLL
IM_MOD_RL_SCT_.DLL
IM_MOD_RL_SFW_.DLL
IM_MOD_RL_SGI_.DLL
IM_MOD_RL_STEGANO_.DLL
IM_MOD_RL_SUN_.DLL
IM_MOD_RL_SVG_.DLL
IM_MOD_RL_TGA_.DLL
IM_MOD_RL_THUMBNAIL_.DLL
IM_MOD_RL_TIFF_.DLL
IM_MOD_RL_TILE_.DLL
IM_MOD_RL_TIM_.DLL
IM_MOD_RL_TTF_.DLL
IM_MOD_RL_TXT_.DLL
IM_MOD_RL_UIL_.DLL
IM_MOD_RL_URL_.DLL
IM_MOD_RL_UYVY_.DLL
IM_MOD_RL_VICAR_.DLL
IM_MOD_RL_VID_.DLL
IM_MOD_RL_VIFF_.DLL
IM_MOD_RL_WBMP_.DLL
IM_MOD_RL_WPG_.DLL
IM_MOD_RL_X_.DLL
IM_MOD_RL_XBM_.DLL
IM_MOD_RL_XC_.DLL
IM_MOD_RL_XCF_.DLL
IM_MOD_RL_XPM_.DLL
IM_MOD_RL_XPS_.DLL
IM_MOD_RL_XTRN_.DLL
IM_MOD_RL_XWD_.DLL
IM_MOD_RL_YCBCR_.DLL
IM_MOD_RL_YUV_.DLL
IESHIMS.DLL
WER.DLL
Perhaps we have a bad installer? Or perhaps we need another installation package?
On XP the equivalent error is as follows:
---------------------------
RegSvr32
---------------------------
LoadLibrary("C:\Program Files\ImageMagick-6.8.2-Q8\ImageMagickObject.dll") failed - The specified module could not be found.
---------------------------
OK
---------------------------
SysInternals Dependancy Walker tells me it wants to load the following files from the same folder but none of these exist in my installation:
IM_MOD_RL_AAI_.DLL
IM_MOD_RL_ART_.DLL
IM_MOD_RL_AVS_.DLL
IM_MOD_RL_BMP_.DLL
IM_MOD_RL_BRAILLE_.DLL
IM_MOD_RL_CALS_.DLL
IM_MOD_RL_CAPTION_.DLL
IM_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LL
Perhaps we have a bad installer? Or perhaps we need another installation package?
Re: ImageMagickObject.dll registration failure
Doh! Figured it out. I downloaded the installer from a mirror and guessed incorrectly that I wanted the "static" version.
Make sure you install the "dynamic" version and you will get all the DLLs as external files that the COM object requires (that we're missing from our installs).
The "dynamic" installer has "dll" in the file name. The one I mistakenly installed had "static" in the file name.
Make sure you install the "dynamic" version and you will get all the DLLs as external files that the COM object requires (that we're missing from our installs).
The "dynamic" installer has "dll" in the file name. The one I mistakenly installed had "static" in the file name.
Re: ImageMagickObject.dll registration failure
I already had the correct installer:
ImageMagick-6.7.9-8-Q16-windows-x64-dll.exe
But still having the same issues.....
ImageMagick-6.7.9-8-Q16-windows-x64-dll.exe
But still having the same issues.....