Link to home
Start Free TrialLog in
Avatar of alto
alto

asked on

Register CdoSys.dll

I have problem to use the Cdosys.dll in my win2k professional computer.
I can't create an instance of the object, when I tried to re register the dll using the regsvr32.exe I got an error: 0x800704da
I succeed to register and use the same dll in a different same computer near by.
Any ideas what is the problem and how to solve it?
Avatar of AndresM
AndresM

Probably is missing a DLL that cdosys.dll depends on. You could try using Dependency Walker (depends.exe) to see if some DLL is missing. In case that you don't have Depends or you can't find it, this are the list of DLLs that cdosys.dll needs:
ADVAPI32.DLL, CDOSYS.DLL, CRYPT32.DLL, GDI32.DLL, INETCOMM.DLL, KERNEL32.DLL, LZ32.DLL, MSASN1.DLL,  MSOERT2.DLL, MSVCP50.DLL, MSVCRT.DLL, NTDLL.DLL, OLE32.DLL, OLEAUT32.DLL, RPCRT4.DLL, SHLWAPI.DLL, URLMON.DLL, USER32.DLL, VERSION.DLL, WININET.DLL
Try this

Start > Run sfc /scannow

if any of the system files are misverioned this sometimes helps to get them in sync with each other. I think part of the problem you are having is file versioning mismatches.


The Crazy One
Avatar of alto

ASKER

I ran the depends.exe and got 2 meassages:

error: APPHELP.DLL not found ( ithink its a XP file not win2k)

2 warnnings: MPR.dll

Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

I also ran the sfc but with no results.
So I think you have a problem with DLL versions. If sfc didn't work, you could try:
- Update your system with the last service pack.
- Copy cdosys.dll and mpr.dll from a machine that has no problems.
Both of these files are part of the Windows Protection Feature and as such there should be backup copies of them in the C:\WINNT\System32\dllcache folder.

Since the SFC didn't find any problems then it would seem that these files are not the direct cause of your original problem.

Run the dependency walker on the MPR.DLL.

What had got me stumped what is the dependency walker even mentiioning the APPHELP.DLL for. Something is out of sync here.
Avatar of alto

ASKER

I ran the depends.exe on the MPR.dll and it looks OK.
I can't replace the dlls since the windows OS using them and they are looked.
and the service pack option?
BTW what are the version numbers on these files. this mine

cdosys.dll 6.1.3940.29
mpr.dll 5.0.2195.3649

also here is instructions how to replace files in use. Keep in mind you use the registry you need to use regedt32 and not regedit

How to Replace In-Use Files at Windows Restart
http://support.microsoft.com/default.aspx?scid=KB;en-us;181345
Avatar of alto

ASKER

AndresM: I already installed the sp2 & 3.
CrazyOne:  My files are like yours
Another idea: run RegMon (http://www.sysinternals.com/ntw2k/source/regmon.shtml) while you attemp to register the DLL, and see in the log if there are "access denied" or "not found" in any class.
Avatar of alto

ASKER

It have success on the entry fot the cdosys.dll
ASKER CERTIFIED SOLUTION
Avatar of CrazyOne
CrazyOne
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question is still open and getting old. If any of the comment(s) above helped you please accept it as an answer or split the points who ever helped you in this question. Your attention in finalising this question is very much appreciated. Thanks in advance,

****** PLEASE DO NOT ACCEPT THIS AS AN ANSWER ********

- If you would like to close this question and have your points refunded, please post a question in community support area on https://www.experts-exchange.com/Community_Support/ giving the address of this question. Thank you      

Pasha

Cleanup Volunteer