Microsoft KB Archive/255904

= 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

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q255904



SYMPTOMS
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.



CAUSE
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.



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

REGEDIT4

[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.



WORKAROUND
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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.