![]() |
|
||||
Where to Find Additional InformationThere exist two possible ways of implementing an extension DLL. One is standard - by writing a regular DLL and implementing all the required functions as outlined in the above mentioned document. The other one is to use the CAdminDialog class (which is derived from MFC CDialog). Microsoft has provided 4 sample applications with functional demo code: EXTDATVW and MBXSERV use standard approach; QUEVIEW and SMBAGENT use CAdminDialog class. The code is located in Mssdk\samples\dbmsg\exchange directory. Mixing MFC and EDK code in one project is a non-trivial task. It would
be a good idea to think twice before deciding to do so. The problems appear
to be linking errors possibly associated with the way Microsoft has compiled
the exchsdk.lib library. To be more specific: you usually end up with either
unresolved externals or multiply defined symbols. One (and perhaps the
only) way to avoid this is to build your project as an MFC extension DLL.
I was not able to find any documentation where Microsoft explains how you
can use the CAdminDialog class except for reference to the above two samples.
|