PC MAPI: How to Find the Name of the CMC DLL to Call

Last reviewed: October 10, 1997
Article ID: Q141063
3.00 3.20 3.50 WINDOWS kbtool

The information in this article applies to:

  • Microsoft Mail for PC Networks, versions 3.0, 3.2, and 3.5

SUMMARY

If you need to see if the Common Mail Calls (CMC) is installed on your computer (CMC=1), you can check the [Mail] section in the WIN.INI file for the CMCDLLNAME entry to find out the name of the installed CMC DLL. Then, you can either import the library (using a C language) or access it dynamically (using Microsoft C or Microsoft Visual Basic).

MORE INFORMATION

The following is the format of the CMCDLLNAME entries:

   CMCDLLNAME=full path to file to CMC DLL file
   CMCDLLNAME32=full path to 32-bit CMC DLL file

NOTE: Microsoft Windows 95 and Windows NT use of WIN.INI file for backward compatibility.


Additional reference words: 3.00 3.20 3.50 1.00 visual c mapi0 mapi1
kbhowto
KBCategory: kbtool
KBSubcategory: MailPCMAPI
Keywords : MailPCMAPI kbtool
Version : 3.00 3.20 3.50
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.