The Add-In sample application code is included with the Workplace source code. The sample is packaged in the ExpressAddinSampleApp.zip file. You can copy and unzip the ExpressAddinSampleApp.zip file to any location
on a system that has the FileNet Workplace Application Integration Toolkit
installed. After you unzip the file, the path in the #import
statement in
the stdafx.h file must be modified to point to the correct
location of the FnAppIntExpressAddin.dll file.
The sample application is composed of the following files:
File | Description |
---|---|
AddinSampleApp.cpp | Provides the MFC initialization code. |
AddinSampleAppDlg.cpp |
Overrides the MFC CDialog behavior, instantiates the ExpressAddIn, provides the event handling mechanism, including handlers for menu click events and calls to the proper ExpressAddin interface methods. |
AddinSampleDoc.cpp | Handles document interactions. |
EventHandler.cpp |
Demonstrates how to implement the ExpressAddin Events interface event handler methods. |
stdafx.cpp | Includes the stdafx.h header file into the sample application project. |
AddinSampleApp.h | Declaration of the AddinSampleApp class, which is inherited from CWinApp. |
AddinSampleAppDlg.h | Declaration of the AddinSampleAppDlg class, which is inherited from CDialog. |
AddinSampleDoc.h | Declaration of the AddinSampleDoc class. |
EventFuncInfo.h | Contains functions to simplify the declarations for the event sink map. |
EventHandler.h |
Demonstrates how to implement the event sink for routing events to the _IExpressAddinEvents interface event handler methods. Provides the declaration of the CEventHandler class and utilizes ATL. |
Resource.h | Microsoft® Visual C++ generated include file. |
stdafx.h |
Include file for standard system include files. |
AddinSampleApp.ico |
The MFC icon. |
Library16.ico | Specifies the icon for the sample application. |
AddinSampleApp.rc | Resources for the sample application. |
AddinSampleApp.rc2 | Resources for the sample application. |