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

This article was previously published under Q238265
This article has been archived. It is offered "as is" and will no longer be updated.
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.
This behavior occurs because the Olemsg32.dll and Cdo.dll files are being called from the wrong installation point.
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.
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

Article ID: 238265 - Last Review: 12/05/2015 15:21:45 - Revision: 3.2

Microsoft Windows NT Server 4.0, Terminal Server Edition, Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows NT Server 4.0 Standard Edition, Microsoft Windows NT Workstation 4.0 Developer Edition

  • kbnosurvey kbarchive kbfaq kbprb KB238265