Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQCONNX and VB

Status
Not open for further replies.

GraemeCollis

Programmer
Nov 21, 2001
1
AU
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top