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 ...
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.
Read now
Unlock full access