Chapter 12. Customizing COM’s View of .NET Components

In This Chapter

Customizing Data Types

Customizing Structure Layout

Exposing Class Interfaces

Using Visual Basic .NET’s ComClassAttribute

Making APIs Invisible to COM

Customizing Registration

Providing Your Own GUIDs

Providing Your Own DISPIDs

Controlling Interface Derivation

Returning a Specific HRESULT

Disabling Type Library Marshaling of .NET Interfaces

Creating Multi-Cultured Methods

Using Optional Parameters in Any Language

Exposing .NET Objects as COM+ Objects

The Common Language Runtime (CLR) provides reasonable default behavior when exposing .NET components to COM. This default behavior is safe in the face of versioning, and almost always matches what ...

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.