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 16. COM Design Guidelines for Components Used by .NET Clients

In This Chapter

General Guidelines

Using Array Parameters

Issues with VARIANT Parameters

Reporting Errors

Adjusting Certain COM-Specific Idioms

Managing Limited Resources

Threading and Apartment Guidelines

Providing Self-Describing Type Information

Naming Guidelines

Performance Considerations

This chapter focuses on developing new software using COM. With the arrival of .NET, the recommendations for designing COM APIs have changed, assuming you care about .NET clients using your COM components (either now or in the future). Most existing COM components have a disadvantage of being designed before .NET existed, so their authors did not know what COM Interoperability ...

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