Article ID: 246524 - Last Review: August 25, 2005 - Revision: 2.6 SAMPLE: FormServer Implements a C++ MAPI Form with IDispatchThis article was previously published under Q246524 On This PageSUMMARY The MyFormServer.exe sample shows one way to write a custom
MAPI form. This sample is a Visual C++ version 6.0 Active Template Library
(ATL) project that implements all the necessary components of a MAPI form and
form server. This MAPI form also implements the IDispatch interface, which is required of all forms in Outlook 2000 and
later. MORE INFORMATIONThe
following file is available for download from the Microsoft Download
Center: Collapse this image ![]() For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
To use this sample, follow these steps:
Debugging TipLaunch MyFormServer.exe directly from the debugger. This loads the server in an idle mode so it is waiting for a client to make use of it. You can set breakpoints throughout the code (such as on CMyMAPIForm::Load) and watch them fire when the client manipulates your form.
| Article Translations
|
Back to the top

