Unable to load module
Posted: 2017-01-06T15:24:06-07:00
vbscript:
Windows Script Host Error (on the oIM.convert line): "convert: 455: unable to load module 'C:\Program Files\ImageMagick-7.0.4-Q16\Modules\coders\IM_MOD_RL_JPEG_.dll': the specified module could not be found."
The pathname in the error message does exist, however if I run Dependency Walker against it, the following files are missing:
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
DCOMP.DLL
IESHIMS.DLL
I'm not very savvy about dll registration, etc.; any suggestions how to resolve this?
Code: Select all
set oIM = CreateObject("ImageMagickObject.MagickImage.1")
if isObject(oIM) then
oIM.convert objPath & oFS.GetFileName(fname), "-resize", "100x72", objPath & "thumb_" & objID & "." & oFS.GetExtensionName(fname)
end if
The pathname in the error message does exist, however if I run Dependency Walker against it, the following files are missing:
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
DCOMP.DLL
IESHIMS.DLL
I'm not very savvy about dll registration, etc.; any suggestions how to resolve this?