Three sample applications are supplied:
You can verify your installation by compiling and running these applications.
The sample applications will be installed to the following locations, according to the language in which they are written, where mqmtop represents the high-level directory in which the product has been installed:
mqmtop\Tools\dotnet\samples\cs\nmqswrld.cs
mqmtop\Tools\dotnet\samples\cs\nmqsput.cs
mqmtop\Tools\dotnet\samples\cs\nmqsget.cs
mqmtop\Tools\dotnet\samples\mcp\mmqswrld.cpp
mqmtop\Tools\dotnet\samples\mcp\mmqsput.cpp
mqmtop\Tools\dotnet\samples\mcp\mmqsget.cpp
mqmtop\Tools\dotnet\samples\vb\vmqswrld.vb
mqmtop\Tools\dotnet\samples\vb\vmqsput.vb
mqmtop\Tools\dotnet\samples\vb\vmqsget.vb
mqmtop\Tools\dotnet\samples\vb\xmqswrld.vb
mqmtop\Tools\dotnet\samples\vb\xmqsput.vb
mqmtop\Tools\dotnet\samples\vb\xmqsget.vb
To build the sample applications a batch file has been supplied for each language.
mqmtop\Tools\dotnet\samples\cs\bldcssamp.bat
The bldcssamp.bat file contains a line for each sample, which is all that is necessary to build this sample program:
csc /t:exe /r:System.dll /r:amqmdnet.dll /lib:mqmtop\bin
/out:nmqwrld.exe nmqwrld.cs
mqmtop\Tools\dotnet\samples\mcp\bldmcpsamp.bat
The bldmcpamp.bat file contains a line for each sample, which is all that is necessary to build this sample program:
cl /clr mqmtop\bin mmqwrld.cpp
mqmtop\Tools\dotnet\samples\vb\bldvbsamp.bat
The bldvbsamp.bat file contains a line for each sample, which is all that is necessary to build this sample program:
vbc /r:System.dll /r:mqmtop\bin\amqmdnet.dll /out:vmqwrld.exe vmqwrld.vb
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csq870w |