This article includes details about the steps needed to add Active document object support to your application. There are several paths you can take, depending on the support for Active technology your application currently has.
In AppWizard, you can create a new application with Active document support by choosing Full Server, or Both Container and Server when asked to specify "What compound document support would you like to include?", and selecting the check box for Active document server.
If your application was created with a version of Visual C++ prior to version 4.2 and is already an in-process server, you can add Active document support by making changes to the following classes:
Class type | Formerly derived from | Change to derive from |
In-Place Frame | COleIPFrameWnd | COleDocIPFrameWnd |
Item | COleServerItem | CDocObjectServerItem |
You will also change how information is entered in the registry, and make several other changes. These changes are detailed in Upgrade to an Active Document Server.. If your application currently has no COM components support, you can add server support by running AppWizard and integrating the COM component-specific code with your existing application and then following the steps described in Upgrade to an Active Document Server.
You can follow the steps in the tutorial Creating an OLE Server, and then follow the steps described in Upgrade to an Active Document Server.
See Also Internet: Where Is..., Active Documents, BINDSCRB, Active Documents