Share via


Sequence of Operations for Creating OLE Applications

OverviewHow Do ITutorial

The following table shows your role and the framework's role in creating OLE linking and embedding applications. These represent options available rather than a sequence of steps to perform.

Creating OLE Applications

Task You do The framework does
Create a COM component. Run AppWizard. Choose Full-server or Mini-server in compound document support.

(From an existing application, emulate Step 7 in the Scribble tutorial.)

The framework generates a skeleton application with COM component capability enabled. All of the COM capability can be transferred to your existing application with only slight modification.
Create a container application from scratch. Run AppWizard. Choose Container in compound document support. In ClassWizard, jump to the source code editor. Fill in code for your COM handler functions. The framework generates a skeleton application that can insert COM objects created by COM component (server) applications.
Create an application that supports Automation from scratch. Run AppWizard. Choose Automation support in step 3. Use ClassWizard to expose methods and properties in your application for automation. The framework generates a skeleton application that can be activated and automated by other applications.

What do you want to know more about?