Using the Component Object Model Interface ( IBM MQ Automation Classes for ActiveX)

The IBM® MQ Automation Classes for ActiveX (MQAX) are ActiveX components that provide classes that you can use in your application to access IBM MQ.

MQAX requires an IBM MQ environment and a corresponding IBM MQ application with which to communicate.

It gives your ActiveX application the ability to run transactions and access data on any of your enterprise systems that you can access through IBM MQ.

IBM MQ Automation Classes for ActiveX:
  • Give you access to the functions and features of the IBM MQ API, permitting full interconnectivity to other IBM MQ platforms.
  • Conform to the normal conventions expected of an ActiveX component.
  • Conform to the IBM MQ object model, also available for .NET, C++, Java, and LotusScript®.

MQAX starter samples are provided. You can use these samples initially to check that your installation of the MQAX is successful and that you have the basic IBM MQ environment in place. The samples also demonstrate how MQAX can be used.

COM and ActiveX scripting

The Component Object Model (COM) is an object-based programming model defined by Microsoft. It specifies how software components can be provided in a way that allows them to locate and communicate with each other irrespective of the computer language in which they are written or their location.

ActiveX is a set of technologies, based on COM, that integrates application development, reusable components, and Internet technologies on the Microsoft Windows platforms. ActiveX components provide interfaces that can be accessed dynamically by applications. An ActiveX scripting client is an application, for example a compiler, that can build or execute a program or script that uses the interfaces provided by ActiveX (or COM) components.

IBM MQ environment support

IBM MQ Automation Classes for ActiveX can only be used with 32-bit ActiveX scripting clients.

The COM component can only be used for 32-bit applications. If you want to write 64-bit COM application, you can use the .NET interface.

To run the MQAX in an IBM MQ server environment you must have Windows 2000 or later installed on your system.

To run the MQAX in an IBM MQ MQI client environment you need IBM MQ MQI client on Windows 2000 or later installed on your system:

The IBM MQ MQI client requires access to at least one IBM MQ server. When both the IBM MQ MQI client and the IBM MQ server are installed on your system, MQAX applications always run against the server. The ActiveX interface to the MQAI is only available in IBM MQ server environments.