Hi,
To use MQCONNX one has to provide an MQCD structure which contains the information about the channel to be used for connection. Futher a pointer or offset to this structure is to be provided in MQCNO structure. As one can not use pointers in VB, I created a super structure have both MQCNO and MQCD structure in it so that a continuous memory area is allocated for these two and then I assinged an offset equal to the length of MQCNO structure to the offset field in the MQCNO. But its not working ??? Ane Help ???
Thanks
To use MQCONNX one has to provide an MQCD structure which contains the information about the channel to be used for connection. Futher a pointer or offset to this structure is to be provided in MQCNO structure. As one can not use pointers in VB, I created a super structure have both MQCNO and MQCD structure in it so that a continuous memory area is allocated for these two and then I assinged an offset equal to the length of MQCNO structure to the offset field in the MQCNO. But its not working ??? Ane Help ???
Thanks