Chapter 5. Responding to COM Events

In This Chapter

Callbacks in .NET

Callbacks in COM

Handling COM Events in Managed Code

Handling ActiveX Control Events in Managed Code

In both COM and .NET, events play a central role in bi-directional communication. Bi-directional communication refers to the paradigm in which clients call into components, which in turn call back into clients. In graphical user interfaces, for example, bi-directional communication is natural because clients of user interface objects such as buttons, check boxes, and tabs wish to be notified when the human user changes their states. Besides graphical applications, callback functionality is commonly used for asynchronous processing when a method has a lot of work ...

Get .NET and COM: The Complete Interoperability Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.