Can't Register OCX

G

Guest

regsvr32 C:\WINDOWS\system32\imgedit.ocx
I get message LoadLibrary(" C:\WINDOWS\system32\imgedit.ocx") failed
The specified module could not be found.

This module I copied from windows2000 to XP

Why do I get this message ???
 
D

Dave Patrick

LoadLibrary can fail if the DLL is not in the specified path, or if the
specified path is incorrect. LoadLibrary can also fail if one of the
dependencies of the DLL that you are trying to load is not met; in other
words, if a dependent DLL is not present or is not in the specified path.

1.) If the dll has dependencies or is dependent on others, then it's
important to replace with the same version.
2.) If the dll exports the DLLRegisterServer, DllUnregisterServer functions
then it's best to unregister

regsvr32.exe /u "PathToDLL"
then after replacement
regsvr32.exe "PathToDLL"

INFO: How Regsvr32.exe Registers and Unregisters COM DLLs
http://support.microsoft.com/default.aspx?kbid=207132

Explanation of Regsvr32 Usage and Error Messages
http://support.microsoft.com/default.aspx?kbid=249873

You can run depends.exe against the DLL to check dependencies

You'll find depends.exe within
\SUPPORT\TOOLS\SUPPORT.CAB

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| regsvr32 C:\WINDOWS\system32\imgedit.ocx
| I get message LoadLibrary(" C:\WINDOWS\system32\imgedit.ocx") failed
| The specified module could not be found.
|
| This module I copied from windows2000 to XP
|
| Why do I get this message ???
 
Joined
Jul 16, 2009
Messages
1
Reaction score
0
hi

i thinks you must copy below file from windows 2000
imagehlp.dll
imgadmin.ocx
imgcmn.dll
imgedit.ocx
imghelp.hlp
imgmgt.chm
imgmgt.hlp
imgscan.ocx
imgshl.dll
imgtasks.chm
imgtasks.chw
imgthumb.ocx
imgutil.dll
imgview.chm
imm32.dll
jpeg1x32.dll
jpeg2x32.dll
kodakimg.exe
kodakprv.exe
oieng400.dll
oiprt400.dll
oislb400.dll
oissq400.dll
oitwa400.dll
oiui400.dll
reg.bat
tifflt.dll
and register
regsvr32 IMGadmin.OCX
regsvr32 IMGEDIT.OCX
regsvr32 IMGSCAN.OCX
regsvr32 IMGTHUMB.OCx

hope this stuff will help you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top