0x0000007e Error When Registering Olemsg32.dll or Cdo.dll Files

ID: Q238265


The information in this article applies to:


SYMPTOMS

When you use Regsvr32.exe to register the Olemsg32.dll or Cdo.dll files, you may receive the following error message:

LoadLibrary("olemsg32.dll") failed.
GetLastError returns 0x0000007e. LoadLibrary("cdo.dll") failed.
GetLastError returns 0x0000007e.


CAUSE

This behavior occurs because the Olemsg32.dll and Cdo.dll files are being called from the wrong installation point.


RESOLUTION

To resolve this issue:

  1. Copy the Olemsg32.dll or Cdo.dll file to the C:\Program Files\Common Files\System\Mapi\1033\NT folder.


  2. Register the files by using Regsvr32.exe. For example, type the following command:


  3. Regsvr32 Olemsg32.dll
    The following success code is displayed:
    DllRegisterServer in Olemsg32.dll succeeded.


MORE INFORMATION

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

Q195228 BUG: TCProps.dll Fails to Register During Setup
Q140346 Possible Reasons for OLE Control Registration Failure

Additional query words:


Keywords          : 
Version           : WINDOWS:2000; winnt:4.0
Platform          : WINDOWS winnt 
Issue type        : kbprb 

Last Reviewed: August 5, 1999