Preparing and running Microsoft Transaction Server applications

To prepare an MTS application to run as an IBM® MQ MQI client application, follow these instructions as appropriate for your environment.

For general information about how to develop Microsoft Transaction Server (MTS) applications that access IBM MQ resources, see the section on MTS in the IBM MQ Help Center.

To prepare an MTS application to run as an IBM MQ MQI client application, do one of the following for each component of the application:
  • If the component uses the C language bindings for the MQI, follow the instructions in Preparing C programs in Windows but link the component with the library mqicxa.lib instead of mqic.lib.
  • If the component uses the IBM MQ C++ classes, follow the instructions in Building C++ programs on Windows but link the component with the library imqx23vn.lib instead of imqc23vn.lib.
  • If the component uses the Visual Basic language bindings for the MQI, follow the instructions in the Preparing Visual Basic programs in Windows but when you define the Visual Basic project, type MqType=3 in the Conditional Compilation Arguments field.
  • If the component uses the IBM MQ Automation Classes for ActiveX (MQAX), define an environment variable, GMQ_MQ_LIB, with the value mqic32xa.dll.

    You can define the environment variable from within your application, or you can define it so that its scope is system wide. However, defining it as system wide can cause any existing MQAX application, that does not define the environment variable from within the application, to behave incorrectly.