This sample demonstrates how to use the MSMQ ActiveX components with the #import
compiler directive new to Visual C++ 5.0. This program also demonstrates how to p
erform asynchronous receive using MSMQ ActiveX Events in C++.
This sample program functions identically to the VB_Draw and C_Draw samples included
with the MSMQ product and will inter-operate with those two samples.
In order to handle ActiveX Event notification a new class, CMSMQEventHandler, has been
defined. This class can be used in other projects by deriving a new class from
CMSMQEventHandler and overriding the Arrived and ArrivedError methods.
Aside from this new class the majority of code in this project was taken or adapted
from the existing C_Draw and VB_Draw samples.