Chapter 6. Connectable Objects

In This Chapter

This chapter shows you how to create and use events in Visual C++ and Visual Basic. COM+ does not inherently support the event model or callback functions. In many object models, classes can have three types of members: properties, methods, and events. Visual Basic and Delphi are object-oriented tools that provide these types of models.

COM+ provides direct support for COM+ classes having both properties and methods, but no COM+ structure is the equivalent of an event. This makes implementing COM+ events very difficult.

The model suggested by ActiveX is to provide a connection ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.