home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / mapi / cmc.cli / readme.txt < prev    next >
Text File  |  1996-04-02  |  1KB  |  26 lines

  1. Sample CMC Client
  2.  
  3.  
  4. The CMC.Cli sample demonstrates using Common Messaging Calls (CMC) functions.
  5.  
  6. The sample is a very simple mail client. Using it is intuitive and
  7. straightforward.
  8.  
  9. To run this application, you have to have the MAPI run-time binaries
  10. installed on your system. For installation instructions, see the
  11. README.WRI in the mstools\mapi\ directory.
  12.  
  13. When writing CMC applications, the addresses of all of the CMC functions
  14. has to be obtained explicitly using GetProcAddress, as opposed to
  15. linking with the import library for MAPI.DLL. You may wish to adapt
  16. the function InitSimpleCMC() from CMCCLI.C for this purpose.
  17.  
  18. If sending/receiving mail is not the primary function of your application,
  19. you can test presence of CMC in a system without incurring the high cost of
  20. trying to load a DLL. You can test the value of the CMC variable. It is 1
  21. if CMC is installed. The variable is located in the [mail] section of your
  22. WIN.INI file on a 16-bit Windows system and under
  23. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem
  24. in the system registry on a 32-bit Windows system. You can cut and paste
  25. the function fCMCInstalled() from CMCCLI.C for this purpose.
  26.