The MSMQ ActiveX Control API

ActiveX components are a distribution mechanism for COM+ class behavior operating behind COM+ interfaces in the context of dynamically constructed COM+ objects. That means the behavior of MSMQ ActiveX components is well encapsulated, and the wayit was developed has nothing to do with the way it is used. In Visual C++ alone, there are several ways to make use of the MSMQ components, including raw COM+ interfaces, Class Wizard dispatch wrappers, and ATL-style smart pointers. A multitude of additional techniques is available in other languages. For example, you'll try three different approaches: raw COM, smart pointers with ATL, and finally a Visual Basic script to ensure low-level programmer humility.

The first example ...

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.