How to use an OLE control as an automation server in Visual C++ (146120)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Editions 4.0
- Microsoft Visual C++, 32-bit Editions 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
This article was previously published under Q146120 Note Microsoft Visual C++ .NET 2002 and Microsoft Visual C++ .NET 2003 support both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. The information in this article applies only to unmanaged Visual C++ code. SUMMARY In situations where an OLE container doesn't support
control containment, you may want to use an OLE control as an automation server
to gain access to its properties and methods. This article explains the
necessary modifications you need to make in order for an OLE control to
function as a normal automation server.
Modification Type: | Major | Last Reviewed: | 9/7/2005 |
---|
Keywords: | kbAutomation kbcode kbCtrlCreate kbhowto kbInprocSvr KB146120 kbAudDeveloper |
---|
|