Skip to Content
.NET and COM Interoperability Handbook, The
book

.NET and COM Interoperability Handbook, The

by Alan Gordon
December 2002
Intermediate to advanced
720 pages
17h 39m
English
Pearson
Content preview from .NET and COM Interoperability Handbook, The

Handling Managed Events from a COM Client

In Chapter 7, you saw how easy it is to handle COM connection point events from a managed client. Therefore, you are probably thinking that it is just as easy to handle events from a managed object in a COM client, right? Well, unfortunately, you will be disappointed. By default, events in a .NET object are not exposed to unmanaged clients at all. You must perform a few extra steps in order to expose your managed events to a COM client. These steps are quite easy, but, even after you perform these steps, you still may encounter some problems. This section shows you how to enable COM clients to handle events fired from your managed components and how to work around some of the problems this may cause. ...

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: The Complete Interoperability Guide

.NET and COM: The Complete Interoperability Guide

Adam Nathan
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 013046130XPurchase book