Title: RE: [MSVC] CMC Calls

> I'm makign an application i which i use CMC (Common Messaging
> Call) and I am currently using two functions
> cmc_logon(...) and cmc_logoff(...) the problems is that the
> linker does not recognize them so I was looking for at
> developer network to see if after include the required header
> files I have to link the project to any
> specific library but I suppose I'm a very bad guy looking for
> things because I din't find any related information

From the MSDN:

<quote>
There is no import library for either the Simple MAPI DLLs or the CMC
DLLs. These DLLs must always be loaded dynamically by calling the
Windows functions LoadLibrary and GetProcAddress. Applications that use
these functions to load a CMC, Simple MAPI, or MAPI DLL should always
check either the appropriate CMC, MAPI, or MAPIX entry to determine if
the API is installed before attempting to load the DLL. </quote>

See my Dynamic Linking Framework article at
www.BeginThread.com/Ehsan/ViewAllArticles if you're looking for a simple
way to load the DLLs dynamically.

-------------
Ehsan Akhgari

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] read.zl6]
[ WWW: http://www.beginthread.com/Ehsan ]

Light without eyes illuminates nothing.

Reply via email to