Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/255904

From BetaArchive Wiki
Knowledge Base

OL2000: MAPI Call "cmc_logon( )" for 16-Bit Application Does Not Work When Used in Conjunction with Clean Install of Outlook 2000

Article ID: 255904

Article Last Modified on 10/26/2006


  • Microsoft Outlook 2000 Standard Edition

This article was previously published under Q255904


If you compile an application that uses the simple Messaging Application Programming Interface (MAPI) call, cmc_logon(), to run in 16-bit mode by using Microsoft Visual Studio version 1.5, when you run the application you may receive an error message that states that cmc_logon() does not work with an unknown error.


This issue can occur because some CLSIDs (class IDs) that are required for simple MAPI 16-bit applications are not registered during a clean Outlook 2000 installation.


To resolve this issue, create a text file with a .reg extension and add the following entries to the file:

[HKEY_CLASSES_ROOT\CLSID\{00020344-0000-0000-C000-000000000046}] @="MAPILogonRemote"
[HKEY_CLASSES_ROOT\CLSID\{00020344-0000-0000-C000-000000000046}\InprocServer32] @="mapisrvr.exe"
[HKEY_CLASSES_ROOT\CLSID\{00020344-0000-0000-C000-000000000046}\LocalServer32] @="mapisrvr.exe"

After you create the file, double-click the file that you just created in Windows Explorer.


To work around this issue, upgrade from Outlook 98, rather than performing a clean installation of Outlook 2000.

Additional query words: OL2K

Keywords: kbprb KB255904