INFO: VB Automation of Visual C++ Server Using OBJ1.OBJ2.prop Syntax (137343)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
- Microsoft Visual C++, 32-bit Editions 2.2
- Microsoft Visual C++, 32-bit Editions 4.0
- Microsoft Visual C++, 32-bit Editions 4.1
This article was previously published under Q137343 SUMMARY
It is often necessary to access properties within nested objects exposed by
OLE Automation. The Visual Basic syntax is:
OBJ1.OBJ2.Property
This article demonstrates the creation of a simple OLE Automation server
with Visual C++, accessible from Visual Basic, that exposes such an object.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kbAutomation kbcode kbinfo KB137343 |
---|
|