Are you a world traveler? ZoneTick is a cool utility that'll help you stay in touch over multiple time zones!
 
Where to Find Additional Information  
Nik Okuntseff  MS Exchange Server Programming 

Where to Find Additional Information

Microsoft Exchange Server Programmer's Reference contains a subsection about 25 pages long named "Administrator Program Extensions". If you are developing an administrator extension or just trying to understand how it works this is a good place to inquire. This subsection describes in detail many aspects of administrator extensions (such as functions that an extension DLL must export and their calling sequence).

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

[ Contents | Home ]

Send comments and suggestions to niko@wrconsulting.com
Copyright © 1997-1998 by Nik Okuntseff