Export (0) Print
Expand All

Part I: Introduction to Wrapping C++ Classes

Visual Studio .NET 2003

Part I of the Migration Guide provides an introduction to techniques for wrapping unmanaged C++ classes with Managed Extensions for C++ classes that act as proxies.

Part I discusses typical techniques for wrapping constructors, the destructor, member functions, binary operators, and assignment and copy constructors. Techniques for wrapping virtual functions, and wrapping in the presence of inheritance are not covered here. The actual techniques used will depend on the unmanaged C++ class that is being wrapped, and may differ from those discussed here.

The complete code for the example discussed in Part I is collected in Appendix: Sample Code.

Show:
© 2014 Microsoft