Re: regsvr32
- From: "Dave Patrick" <DSPatrick@xxxxxxxxxxxxxxxx>
- Date: Sun, 22 Jan 2006 11:25:04 -0700
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
http://www.dependencywalker.com/
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Andre" wrote:
| On a newly setup Windows 2003 box, I'm trying to register a dll using
| regsvr32.dll. I've used this dll for years -
| http://www.sevillaonline.com/ActiveX/vb5/RC2Lib.htm - and have
successfully
| registered it on other Win2003 boxes. This time I'm getting the following
| error:
| LoadLibrary("rc2.dll") failed - The specified module could not be found
|
| I've looked at several articles in the kb, but I don't find anything that
is
| helping. Can anyone give me any insight as to why this might not be
| working?
|
| Thanks, Andre
|
|
.
- Follow-Ups:
- Re: regsvr32
- From: Andre
- Re: regsvr32
- References:
- regsvr32
- From: Andre
- regsvr32
- Prev by Date: Re: User permissions - Server 2003
- Next by Date: Re: Internet Favorite redirection
- Previous by thread: regsvr32
- Next by thread: Re: regsvr32
- Index(es):
Relevant Pages
|
Loading