SAMPLE: AdContac.exe Adds Sender of Incoming Message to ContactsID: Q198725
|
AdContac.exe is a self-extracting archive that contains a custom rule
extension sample written with Microsoft Visual C++ 5.0 for use with
Microsoft Outlook 98.
AdContac is a custom action .dll file for use with the Rule Wizard in Outlook 98. When you are configuring the custom action, you are presented with a list of all of the Outlook Address Book enabled contacts folders in the current profile. You can select a contacts folder from any store.
When a message that meets the conditions for your Inbox rule arrives, AdContac obtains the sender information from the message and creates a new entry in the Outlook Address Book (contacts) using Extended Messaging Application Programming Interface (MAPI).
If you want to create custom actions for use with the Rule Wizard in Outlook 98, then this sample will help you get started. It also gives you a
working example of using the Exchange extension interfaces from Visual C++.
The following file is available for download from the Microsoft
Software Library:
~ AdContac.exe - 152KB archive containing 13 files totaling 336KB.
Release Date: 2/15/99
For more information about downloading files from the Microsoft Software
Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
FileName Size Description
---------------------------------------------------------
AdContac.dll 227KB Custom Action extension DLL
AdContac.reg 1KB Custom Action registration file
AdContac.cpp 26KB main extension source file
AdContac.h 5KB main extension header file
AdContac.def 1KB extension definition file
crarun.dsp 5KB Microsoft Visual C++ 5.0 project file
crarun.dsw 1KB Microsoft Visual C++ 5.0 workspace file
msoutl85.cpp 55KB Outlook Object Model Import source file
msoutl85.h 14KB Outlook Object Model Import header file
resource.h 1KB extension resource header file
script1.rc 3KB extension resource template
stdafx.cpp 1KB preprocessor source file
stdafx.h 2KB preprocessor header file
Additional query words: kbDSupport extension rule Custom Action Outlook kbMsg kbVC kbOutlook98 kbMAPI kbfile
Keywords : kbfile kbEDK kbMAPI kbMsg kbOutlook98 kbOutlookObj kbVC
Version : WINDOWS:5.0,5.5
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: February 26, 1999