.NET Interoperability Fundamentals
Managed code is great, but sometimes .NET code must call native code, such as Windows API DLLs or COM components; this course will show you how.
What you'll learn
Managed code is great, but sometimes .NET code must call native code, such as Windows API DLLs or COM components. The course explores most options for interop, from P/Invoke, to COM and even C++/CLI. Best practices are spread throughout the course. A deeper understanding of COM mechanisms provides a better experience and the ability to solve issues should they arise. This course should be helpful for any .NET developer that must introp with native code (and vice versa).
Table of contents
- Overview 1m
- IUnknown in .NET 2m
- Demo: IUnknown in .NET 4m
- Memory Management 4m
- Demo: Memory Management 5m
- Interop With no Type Library 2m
- Demo: Interop With no Type Library 9m
- Dynamic Dispatch 2m
- Demo: Dynamic Dispatch 9m
- Exposing .NET Type as COM Classes 4m
- Demo: Exposing .NET Types as COM Classes 8m
- Demo: Consuming .NET Types as COM Classes 5m
- Summary 1m
- Overview 1m
- Processes and Threads 2m
- COM and Threading 2m
- Threading and Apartments 4m
- Process and Apartments 3m
- Objects and Apartments 5m
- Apartments Examples 7m
- COM Apartments and the CLR 3m
- Demo: Apartments - The Code 3m
- Demo: Apartments - 1 5m
- Demo: Apartments - 2 4m
- Demo: Apartments - 3 4m
- Demo: Apartments - 4 3m
- Both and the FTM 3m
- Summary 2m