The installation process copies the Exchange Hook extension (DLL ahd HLP) into your 
Outlook program directory and the configuration file (ECF) into the Outlook Addin 
directory.

To actually use the extension, you must use the extension add-in manager within Outlook
to include the extension:

1. In the Outlook menu, select Tools->Options->Other.
2. Under General section, click on Advanced Options.
3. In the Advanced Options dialog, click on the Add-In Manager command button.
4. On the Add-Ins dialog, click the Install command button.
5. Select the exchhook.ecf file and hit Open.
6. Close all of the dialogs.
7. Open the Tools->Options dialog again and you should see the Message Handlers tabpage 
which has been added by the extension.

When a message is opened in the InBox from the email address you have configured the 
handler for, the extension will launch the executable you have assigned in the handler,
passing it two additional command line arguments.  The first is the text "MessageID" (so
your application knows how it needs to process the next argument).  The second is the 
EntryID for the email message (which is a permanent and unique identified for the message).
Your application can access the message by doing a GetDefaultFolder to get the InBox and 
then looping through the Items property to find the message with the same EntryID.

bruce.armstrong@teamsybase.com




