O'Reilly logo

.NET and COM: The Complete Interoperability Guide by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Advanced Topics for Using COM Components

In This Chapter

Do-It-Yourself Marshaling

Threading and Apartments

Troubleshooting an InvalidCastException

Garbage Collection

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required