0x0000007e Error When Registering Olemsg32.dll or Cdo.dll Files (238265)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0 Terminal Server Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q238265

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:

    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:

195228 BUG: TCProps.dll Fails to Register During Setup

140346 Possible Reasons for OLE Control Registration Failure


Modification Type:MajorLast Reviewed:6/30/2004
Keywords:kbprb KB238265