How to return an array from a Visual C++ DLL or OLE server by using the ColeSafeArray class (177218)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Editions 4.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- Microsoft Visual C++, 32-bit Editions 6.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- Microsoft Visual C++, 32-bit Editions 5.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 95
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ 2005 Express Edition
This article was previously published under Q177218 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. Microsoft Visual C++ 2005 supports both the managed
code model that is provided by the Microsoft .NET Framework and the unmanaged
native Microsoft Windows code model. SUMMARY This article illustrates how to return an array from a
Microsoft Visual C++ DLL or OLE server using the ColeSafeArray class included
with the Microsoft Foundation Classes (MFC). REFERENCES More information about the ColeSafeArray class, or VARIANT
types, is included in the Microsoft Visual C++ online help, and/or MSDN.
Modification Type: | Major | Last Reviewed: | 1/9/2006 |
---|
Keywords: | kbAutomation kbhowto kbSample KB177218 kbAudDeveloper |
---|
|