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

Get .NET and COM: The Complete Interoperability Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.