Posted: Thu Oct 26, 2006 10:48 pm Post subject: Accessing already open queue in C++
Novice
Joined: 05 Aug 2006 Posts: 21
Hi,
I have the piece of code C# code running very well. But if i try to translate in C++, it seems there's no "accessQueue" method or function in C++. Could someone tell me how I coul translate my C# code in C++ ? The purpose of this code is to open an instance of a queue for my process even if that queue is already open (reason code 2100).
int options = MQC.MQOO_OUTPUT +
MQC.MQOO_INPUT_AS_Q_DEF +
MQC.MQOO_INQUIRE +
MQC.MQOO_FAIL_IF_QUIESCING;
Thanks for the link. But it does not help me. I'm a little bit more than a newbie in MQSeries.
I already wrote a C# API for applications running on WMQ with MQRFH pub/sub messages. I built formerly this API with VB6/ACTIVEX. The API is running fine for those two languages. Those two languages have the "MQManager.AcessQueue". But C++ seems not to have it.
For your information : Queues are opened by "MQManager.AccessQueue" in C# and VB6. But, in C++ they are opened by "ImqQueue.open".
I gonna do some debug ; may be with the "ImqQueue.open" I'll be able to do all the "MQManager.AccessQueue" does.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum