
CHAPTER 1 Why C++/CLI?
Extending C++ with .NET Features
What Is .NET?
What Is C++/CLI?
Building C++/CLI Applications
Interaction Between Managed and Unmanaged Code
.
CHAPTER 2 Managed Types, Instances, and Memory
Custom CTS Type Definitions
Managed Memory
Values and Objects
Value Types and Reference Types
CHAPTER 3 Writing Simple .NET Applications
Referencing Assemblies
Assemblies and Type Identity
Avoiding Naming Conflicts
Command-Line Arguments
CHAPTER 4 Assemblies, Metadata, and Runtime Services
Assembly Loading and Deployment
Consuming Metadata for Types and Type Members at Runtime
CHAPTER 5 Defining Managed Types
Overriding Interface Members
Interfaces Are Immutable
Has-A Relationships
CHAPTER 6 Special Member Functions and Resource Management
Cleanup for Automatic Variables
Requirements for Destructors of Managed Types
Copy Constructors and Assignment Operators
CHAPTER 7 Using C++/CLI to Extend Visual C++ Projects with Managed Code
Which Compilation Model Should You Choose? .
Handling Exceptions Across Managed-Unmanaged Boundaries
General Hints for Mixed Compilation
CHAPTER 8 Mixing the Managed and the Native Type System
Using Native Types in Managed Code
Using C Structures in Managed Code
Using C++ Classes in Managed Code
CHAPTER 9 Managed-Unmanaged Transitions
Calling C++ Classes Across Managed-Unmanaged Boundaries
Passing Native-Managed Boundaries with Function Pointers
Passing Native-Managed Boundaries with Virtual Function Calls
CHAPTER 10 Wrapping Native Libraries
Language Interoperability
Wrapping C++ Classes
CHAPTER 11 Reliable Resource Management
Wrapping Native Resources
Limits of IDisposable::Dispose
Garbage Collection and Last-Chance Cleanup
What Should a Finalizer Clean Up?
CHAPTER 12 Assembly Startup and Runtime Initialization
Loading the Application Assembly
CRT Initialization in /clr[:pure] Assemblies
Linking the CRT in Mixed-Code Assemblies
Download:
Link_1
No comments:
Post a Comment