Before attending this course, students must have: ? Programming experience with
Para qué te prepara
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
Dirigido a
This course is intended for corporate developers, solution providers, IT Web developers, and IT database developers who are responsible for building knowledge management solutions that provide data an
Bac de Roda, 163 bajos Barcelona 08018 Barcelona (España)
C/ Ulises 89 Madrid 28043 Madrid (España)
Temario del curso
TEMARIO Y CONTENIDOS
Programming with Managed Extensions for Microsoft Visual C++ .NET
Course 2558?Three days?Instructor-led
Introduction
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.
Audience
This course is intended for corporate developers, solution providers, IT
Web developers, and IT database developers who are responsible for
building knowledge management solutions that provide data analysis,
reporting, presentation, and workflow.
At Course Completion
At the end of the course, students will be able to:
?
Create Managed 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 inheritance with __gc classes.
?
Use __gc arrays, .NET Framework collections, and reflection.
?
Use properties, named operator functions, and exceptions in managed code.
?
Migrate unmanaged C++ code to Managed C++.
?
Use COM interoperability with managed code.
Prerequisites
Before attending this course, students must have:
?
Programming experience with C++, using object-oriented programming
techniques.
?
Familiarity with C++ template libraries.
Microsoft Certified Professional Exams
There is no MCP exam associated with this course.
Student Materials
The student kit includes a comprehensive workbook and other necessary
materials for this class.
Course Outline
Module 1: Managed C++ Applications and the .NET Framework
?
Using C++ in the .NET Framework
?
The .NET Framework and Managed Execution Environment
?
Programming with Managed Extensions for C++
?
Using .NET Framework Developer Tools
Module 2: Defining __gc Classes
?
Defining Classes in Managed C++
?
Defining Members in a __gc Class
?
Controlling Class Layout
Module 3: __gc Pointers and References
?
Pointers and References to __gc and __nogc Objects
?
Pinning and Unpinning Pointers
?
Delegates and Events
Module 4: Value Types
?
Creating and Using Value Types
?
Boxing and Unboxing Value Types
?
Value Enums
Module 5: Managed Inheritance
?
Defining Base Classes and Derived Classes
?
Interfaces
?
Using Inheritance with Other .NET Framework Languages
Module 6: Arrays, Collections, and Reflection
?
Defining and Using _gc Arrays
?
Using .NET Framework Collection Classes
?
Using Reflection
Module 7: Properties, Managed Operators, and Managed Exceptions
?
Defining and Using Properties
?
Defining and Using Managed Operator Functions
?
Exception Handling
Module 8: Mixing Managed and Unmanaged Code
?
Directly Invoking Native APIs in Managed Code
?
Wrapping a __nogc Class in a __gc Class
Module 9: COM Interoperability
?
Importing a COM Type Library into an Interop Assembly