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 13. Exposing .NET Events to COM Clients

In This Chapter

Exposing Events Without Using Extra CLR Support

Exposing Events Using Extra CLR Support

Example: Handling a .NET Windows Form’s Events from COM

Events are a popular way to expose callback functionality in .NET, and are used extensively in the .NET Framework. That’s why it’s great that the type library importer exposes COM classes that use COM’s connection point protocol as .NET classes with .NET events, as explained in Chapter 5, “Responding to COM Events.” Unfortunately, as described in Chapter 10, “Advanced Topics for Using .NET Components,” the reverse direction (exposing .NET events via connection points) isn’t automatically handled by COM Interoperability. A .NET instance ...

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