Delphi - installing and connecting IBM WebSphere MQ
I want to develop a Delphi Base application to read IBM WebSphere MQ and write messages to a file. I searched for any component to work with IBM MQ, but I couldn't! (nobody?) I noticed that IBM introduced " MA7Q: WebSphere MQ - MQI for Delphi " which is based on 2 DLLs ( mqm.dll
, mqic32.dll
). I found a wrapper in these DLLs. I have developed a simple console application.
But when I run it immediately. I found that they depend on some DLLs. I found them in " IBM WebSphere MQ Client MQC75 ". I installed and copied all dlls to my application directory. But failed again.
I noticed that the mqic32.dll file depends on msvcr80.dll. I can not find him.
I don't know where I am going!
I agree with any suggestions and advice Thanks
source to share
Here's where you went wrong:
I installed and copied all the dlls to the app directory.
Install the WMQ client and register the DLLs where they will live after installation. IBM installation media includes much more than just .Net support, such as tracing, national language support, diagnostics, and more. Installation makes very few entries in the Windows registry and then writes most of the configuration data to the file system using installation. All interdependencies and relationships are maintained correctly using this setup methodology. If you then grab bits and pieces and move them outside of this framework, it breaks.
You should be able to run basic dsp commands to verify its installation: dspmqver , dspxmsver .
Please refer to the official documentation:
- Installing the WebSphere MQ client on Windows systems
- Installing the Messenger client for .NET (and specifically the prerequisites for the .Net framework version.)
- SupportPac MA7Q: WebSphere MQ - MQI for Delphi
source to share