How to build custom COM interface marshalers in Visual C++ (164149)
The information in this article applies to:
- Microsoft Visual C++ 4.0
- 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 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)
- Microsoft Visual C++ 2005 Express Edition
This article was previously published under Q164149 Note Microsoft Visual C++ .NET (2002) supports 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.
Note 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 Custom COM interfaces that must be used cross-process or
cross-apartment require marshaling support. This article explains how to set up
a Visual C++
project to build a self-registering standard marshaler from an IDL script that
describes your custom interface.REFERENCES Visual C++ Help file; Topic: "Specifying Custom Build
Tools"
Visual C++ InfoViewer; Topic: "SDKs\Win32
SDK\RPC"
Modification Type: | Major | Last Reviewed: | 1/6/2006 |
---|
Keywords: | kbhowto kbide KB164149 kbAudDeveloper |
---|
|