The goal of this course is to teach existing C++ developers how to write applications for the Microsoft .NET Framework by using Managed Extensions for C++. The course teaches the language differences between standard C++ and Managed Extensions for C++, and focuses on issues such as efficiency and optimization. The course also discusses interoperability with unmanaged code, and shows how to use COM effectively in managed code.
Before attending this course, students should have programming experience with C++, experience using object-oriented programming techniques and familiarity with the .NET Framework.
3 Days/Lecture & Lab
This course is intended for C++ application developers and Microsoft Win32(r) systems programmers that need to migrate or integrate their code with the .NET Framework.
- Create Managed Extensions for C++ applications that execute in the .NET Framework.
- Define __gc (garbage collected) classes in C++.
- Use __gc pointers and references.
- Define and use value types.
- Use __gc arrays, .NET Framework collections, and reflection.
- Use inheritance with __gc classes.
- Use properties, named operator functions, and exceptions in managed code.
- Migrate unmanaged C++ code to managed C++.
- Use COM interoperability with managed code.
- Define nested classes in a __gc enclosing class.
- Managed C++ Applications and the .NET Framework
- Defining_gc Classes
- _gc Pointers and References
- Value Types
- Arrays, Collections, and Reflection
- Managed Inheritance
- Properties, Managed Operators, and Managed Exceptions
- Mixing Managed and Unmanaged Code
- COM Interoperability