GraemeCollis
Programmer
Hi,
I am trying to use the IBM MQSeries call MQCONNX with VB. I currently have it working both with C/C++ and COBOL. Now we have a requirement to use an application written in VB6. The problem is that the MQCONNX call is passed an MQCNO structure which contains a reference to an MQCD structure.
If you are using COBOL you set the MQCNO-CLIENTCONNOFFSET variable to an offset where it can find a MQCD data structure.
If you are using C/C++ you set the mqcno.clientptr to point to an MQCD data structure.
VB has no pointers and I have tried setting an offset to a MQCD variable but only get errors.
Is there anyone out there who has managed to do this or is it not possible?
thanks, Graeme Collis
I am trying to use the IBM MQSeries call MQCONNX with VB. I currently have it working both with C/C++ and COBOL. Now we have a requirement to use an application written in VB6. The problem is that the MQCONNX call is passed an MQCNO structure which contains a reference to an MQCD structure.
If you are using COBOL you set the MQCNO-CLIENTCONNOFFSET variable to an offset where it can find a MQCD data structure.
If you are using C/C++ you set the mqcno.clientptr to point to an MQCD data structure.
VB has no pointers and I have tried setting an offset to a MQCD variable but only get errors.
Is there anyone out there who has managed to do this or is it not possible?
thanks, Graeme Collis