Skip to Content
.NET and COM: The Complete Interoperability Guide
book

.NET and COM: The Complete Interoperability Guide

by Adam Nathan
January 2002
Intermediate to advanced
1608 pages
38h 34m
English
Sams
Content preview from .NET and COM: The Complete Interoperability Guide

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET and COM Interoperability Handbook, The

.NET and COM Interoperability Handbook, The

Alan Gordon
COM Programming with Microsoft® .NET

COM Programming with Microsoft® .NET

John Paul Mueller, Julian Templeman

Publisher Resources

ISBN: 9780672333583Purchase book