Home > database >  PB to invoke MQ
PB to invoke MQ

Time:09-18

If installed the MQ client, then the call is successful, otherwise call fails! The following two call methods are tried,
Method one: call the ACTIVEX
Li_result=MQS. ConnectToNewObject (" MQAX200. MqSession ")//see note 1, and the Connection to the ActiveX
Messagebox (' ConnectToNewObject MQAX200 ', li_result)
.
Method 2: call mqic32. DLL
Subroutine MQCONN (string QMgrName, ref long Hconn, ref long CompCode, ref long Reason) Library "mqic32. DLL" Alias FOR "MQCONNstd @ 16
".
Do not install the client, PB can invoke MQ?

CodePudding user response:

The
refer to the original poster lou1788 response:
if installed MQ client, then the call is successful, otherwise call fails! The following two call methods are tried,
Method one: call the ACTIVEX
Li_result=MQS. ConnectToNewObject (" MQAX200. MqSession ")//see note 1, and the Connection to the ActiveX
Messagebox (' ConnectToNewObject MQAX200 ', li_result)
.
Method 2: call mqic32. DLL
Subroutine MQCONN (string QMgrName, ref long Hconn, ref long CompCode, ref long Reason) Library "mqic32. DLL" Alias FOR "MQCONNstd @ 16
".
Do not install the client, PB can invoke MQ?


Surely not

CodePudding user response:

Pb can invoke MQ for what purpose?

CodePudding user response:

I have a project to PB through the MQ, if want to install the client every computer, very trouble, it is best to not MQ client installed, copy a few dynamic library, environment variable configuration, can call best,

CodePudding user response:

My own computer is installed MQ client, pb call MQ routine test passed, changed not installed MQ client computer, it doesn't work,

CodePudding user response:

reference 4 floor lou1788 response:
my own computer is installed MQ client, pb call MQ routine test passed, changed not installed MQ client computer, is not,


To consider the automatic register MQ, look for related information

CodePudding user response:

reference 5 floor lzp_lrp reply:
Quote: refer to 4th floor lou1788 response:

My computer is installed MQ client, pb call MQ routine test passed, changed not installed MQ client computer, is not,


Consider automatic registration MQ, look for related information


You can provide relevant information? This information is rarely on the net,
  • Related