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

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