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 17. Implementing .NET Interfaces for Type Compatibility

In This Chapter

Class Interfaces

Interface Inheritance

Considerations for Visual C++ Programmers

Considerations for Visual Basic 6 Programmers

To conclude our examination of developing COM components that are exposed to .NET, we’re going to focus on implementing .NET interfaces in unmanaged code. A .NET interface is any interface defined in metadata that’s not marked with the ComImportAttribute pseudo-custom attribute.

Just as a .NET class that implements a COM interface is sometimes said to be a “COM-compatible” class, a COM class that implements a .NET interface could be called a “.NET-compatible” class. This scenario is much rarer than the reverse, however, because ...

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