Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LoadLibrary("cdo32.dll") failed.

Status
Not open for further replies.

TarunAgarwal

Programmer
Nov 18, 2001
15
IN
Hi,

I have made a Vb package on Win NT. While trying to run the setup of this package on Win 98 m/c, I get a message that cdo32.dll could not be registered.

When I try to do it manually, using "regsvr32 cdo32.dll" at command prompt, I get a message that:-
LoadLibrary("cdo32.dll") failed. GetlastError returns 0x00000485

How do I register the same? It is critical to my applicaton.

Regards,
Tarun
 
Have you gotten the latest Microsoft Virtual Machine and runtime file downloads on this machine?
 
Thanks Cirrus

Dont have much of a idea about the Microsoft Virtual Machine and the run time downloads. Please tell me more about them and accordingly, I will check my system.

Regards,
Tarun
 
Hello, TarunAgarwal.

For ERROR_DLL_NOT_FOUND of error 1157, first thing to try is to provision the full path to regsvr32.exe as well as cdo32.dll see if the popup subsists. (In particular, path with space etc should be enclosed within quotes.)

regards - tsuji
 
Try downloading this utility. It's callled ActiveX Control Disagnostics. It will tell you whether there is a DLL entry point and that it can be registered in this manner. Not all DLL's can.


I also use a freeware product called OleRegWiz for registering controls.

Here's a link:

It automatically assigns keys to .ocx, .exe, .tlb but you'll need to import the following into the registry, changing the path, of course.
====================BEGIN CUT======================

REGEDIT4

[HKEY_CLASSES_ROOT\dllfile\shell]
@=""

[HKEY_CLASSES_ROOT\dllfile\shell\Register]

[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="\"I:\\UTILITY\\OLEREGWI.EXE\" /reg \"%1\""

[HKEY_CLASSES_ROOT\dllfile\shell\Unregister]

[HKEY_CLASSES_ROOT\dllfile\shell\Unregister\command]
@="\"I:\\UTILITY\\OLEREGWI.EXE\" /unreg \"%1\""

=======================END CUT====================
reghakr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top