다음을 통해 공유


OLE 응용 프로그램을 만드는 작업 시퀀스

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 the MFC Application Wizard. Choose Full-server or Mini-server in the Compound Document Support tab.

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 the MFC Application Wizard. Choose Container in the Compound Document Support tab. Using Class View, go 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 the MFC Application Wizard. Choose Automation from the Advanced Features tab. Use Class View 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.

참고 항목

개념

프레임워크를 기반으로 구축

MFC 응용 프로그램을 빌드하는 작업 시퀀스

ActiveX 컨트롤을 만드는 작업 시퀀스

데이터베이스 응용 프로그램을 만드는 작업 시퀀스