Chapter 6. Advanced Topics for Using COM Components
In This Chapter
• Do-It-Yourself Marshaling
• Threading and Apartments
• Troubleshooting an InvalidCastException
• Securing Unmanaged Calls
• Using COM+ and DCOM Objects
• Inheriting from COM Classes
• Debugging into COM Components
• Monitoring Performance
The previous three chapters covered a lot of information that should help you use most COM components within .NET components and applications, especially if the author of the COM component has produced a customized Primary Interop Assembly. This chapter focuses on a handful of advanced topics that should help you use any COM components in .NET:
• Do-it-yourself marshaling
• Threading and apartments
• Troubleshooting ...
Get .NET and COM: The Complete Interoperability Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.