WindowsXP-SP1/inetsrv/msmq/sdk/samples
Microsoft f7ca35dddd First commit 2020-09-30 16:53:49 +02:00
..
c_draw First commit 2020-09-30 16:53:49 +02:00
direncrypt First commit 2020-09-30 16:53:49 +02:00
distcreate First commit 2020-09-30 16:53:49 +02:00
dl_draw First commit 2020-09-30 16:53:49 +02:00
http First commit 2020-09-30 16:53:49 +02:00
imp_draw First commit 2020-09-30 16:53:49 +02:00
javadraw First commit 2020-09-30 16:53:49 +02:00
mqapitst First commit 2020-09-30 16:53:49 +02:00
mqasp First commit 2020-09-30 16:53:49 +02:00
mqf_draw First commit 2020-09-30 16:53:49 +02:00
mqpers First commit 2020-09-30 16:53:49 +02:00
mqport First commit 2020-09-30 16:53:49 +02:00
mqtestoa First commit 2020-09-30 16:53:49 +02:00
mqtrans First commit 2020-09-30 16:53:49 +02:00
mqtrigger First commit 2020-09-30 16:53:49 +02:00
msmqtest First commit 2020-09-30 16:53:49 +02:00
multi_dest_draw First commit 2020-09-30 16:53:49 +02:00
multicast_draw First commit 2020-09-30 16:53:49 +02:00
replyall First commit 2020-09-30 16:53:49 +02:00
vb_draw First commit 2020-09-30 16:53:49 +02:00
vb_lookupid First commit 2020-09-30 16:53:49 +02:00
vbtrans First commit 2020-09-30 16:53:49 +02:00
makefile First commit 2020-09-30 16:53:49 +02:00
readme.txt First commit 2020-09-30 16:53:49 +02:00

readme.txt

MSMQ 2.0 can be setup in two distinct modes of operation with regards to access to Active Directory - 
DS enabled and DS disabled (also known as workgroup mode). 
The readme files for each sample in this directory explain in detail what setup mode is required and/or 
what the differences are in the expected behavior when running the samples in different modes.
When you run MSMQ 2.0 setup on a computer belonging to a workgroup, setup automatically installs 
MSMQ 2.0  in DS disabled mode. Note however that if, after MSMQ 2.0  has been setup, the computer 
joins a Windows 2000 domain with MSMQ 2.0 deployed, the MSMQ service will automatically attempt to 
join the MSMQ 2.0 deployment and, if successful, switch to DS enabled mode.

When you run MSMQ 2.0 setup on a computer belonging to a Windows 2000 domain you can explicitly 
choose to install in either of the modes by checking “Manually select access mode to Active Directory” 
tab on the first page of the setup.


This directory contains several sub-directories for MSMQ sample programs:

Sub-directory	Description
-------------	              ---------------
C_DRAW		C++ distributed drawing application.  
                            Port of VB_DRAW implemented with the MSMQ SDK C API.
                            Interops with VB_DRAW and IMP_DRAW.
                            Can be compiled and run on MSMQ 1.0 or later.

direncrypt  	This application demonstrates how to encrypt and send an MSMQ message using 
                            Direct mode. The message is encrypted by the application itself.
                            Can be compiled and run on MSMQ 2.0 or later.

Imp_Draw	              C++ distributed drawing application.
		Port of VB_DRAW implemented with the MSMQ COM components.
		Interops with C_DRAW and VB_DRAW.
		Can be compiled and run on MSMQ 1.0 or later.

JavaDraw	              Java distributed drawing application. Does not interoperate with C_DRAW, 
		IMP_DRAW and VB_DRAW.
		Implemented with the MSMQ COM components.
		Requires Java SDK 3.2.
		Can be compiled and run on MSMQ 2.0 or later.

MQAPITST	GUI application to interactively invoke MSMQ C APIs.
		Can be compiled and run on MSMQ 1.0 or later.

MQASP 		Shows how to perform basic server-side message queuing operations 
		using the MSMQ COM components.  Demonstrates IIS server-side scripting 
		with ASP/VBS.
		The server side has to be a DS enabled computer, running MSMQ 1.0 or later.

MqPers		C++ console application that demonstrates how to build and send a 
		persistable COM object using MSMQ.
		Implemented in terms of ATL and the MSMQ COM components.
		Can be compiled and run on MSMQ 2.0 or later.

mqport		C++ console application demonstrating how to use completion ports
		to asynchronously receive MSMQ messages.  Implemented with
		both the MSMQ SDK C API and the MSMQ COM components.
		Can be compiled and run on MSMQ 2.0 or later.

MQTESTOA	C++ console app that demonstrates how to send and receive messages
		between processes.  Implemented with the MSMQ COM components.  Interops
		with msmqtest.
		Can be compiled and run on MSMQ 2.0 or later.

MQTRANS             C++ console app that demonstrates how to send/receive coordinated 
		transactions that include MSMQ messages and SQL database updates.
		Can be compiled and run on MSMQ 1.0 or later.

mqtrigger	              VB and C++ application that shows how to use NT MSMQ PerfMon counters
		in order to implement trigger functionality. 
		NOTE: this sample is unrelated to the "MSMQ Triggers" component that is
		available on the Windows 2000 Resource Kit.
		Can be compiled and run on MSMQ 2.0 or later.

msmqtest	              C++ console app that demonstrates how to send and receive messages
		between processes. Implemented with the MSMQ SDK C API.  Interops 
		with MQTESTOA.
		Can be compiled and run on MSMQ 2.0 or later.

replyall 	              Demonstrates how to use the MSMQ Mail COM object library from VB.
		Can be compiled and run on MSMQ 1.0 or later, on a DS enabled computer only.

VB_DRAW             VB distributed drawing application.  Interops with C_DRAW and IMP_DRAW.
		Can be compiled and run on MSMQ 2.0 or later.

VBTrans		VB application that sends and receives transactional messages.
		Demonstrates how the receiver can identify which transactions the 
		messages belong to.
		Can be compiled and run on MSMQ 2.0 or later.

multi_dest_draw    A VB distributed drawing application. Interops with C_DRAW, IMP_DRAW, VB_DRAW and                          DL_DRAW. 
		Can be compiled and run on MSMQ 3.0 or higher.

DL_DRAW         A  VB distributed drawing application.  Interops with C_DRAW, IMP_DRAW, VB_DRAW and                           multi_dest_draw
		Can be compiled and run on MSMQ 3.0 or later, needs a DS enabled computer.

DistCreate      A VB demonstration of COM objects. creates 2 public and one private queues, creates a 
                    queue alias to the private queue and adds the queues to a created distribution list.
		Can be compiled and run on MSMQ 3.0 or later, needs a DS enabled computer.
              

mqf_draw        C++ distributed drawing application.
			    Port of multi_dest_draw.implemented with the MSMQ SDK C API.
			    Interops with C_DRAW, VB_DRAW, Imp_Draw and multi_dest_draw.
                            Can be compiled and run on MSMQ 3.0 or later.

vb_LookupId	A VB demonstration of the usage of the 'LookupId' property of msmqmessage. 
		The sample peeks at the messages in a specified queue and displays them in a table. 
		Can be compiled and run on MSMQ 3.0 or later.

multicast_draw A VB distributed drawing application. Interops with C_DRAW, IMP_DRAW, VB_DRAW,                          DL_DRAW and mqf_draw. 
		Can be compiled and run on MSMQ 3.0 or higher.

http		A VB sample application demonstrates sending and receiving messages with http transport.