Posted: Thu Oct 14, 2004 11:31 am Post subject: Creating a Queue in C++
Acolyte
Joined: 25 Aug 2004 Posts: 54
Could I please get some general guidance on how to do some things in C++. I have successfully compiled and can run the sample program imqwrld.cpp (I am running MQ V5.3 on Linux).
I would like to be able to create a queue from my program. The sample program amqsaicq.c demonstrates how to do this in C but I cannot figure out how I might do it in C++. The classes do not seem to offer methods for this. I have tried using extern C and copying in the functions from the C program, but I can't seem to get at the MQHCONN member of my QueueManager Class and I need that to pass into the C functions.
I certainly hope that I am missing something really simple.
Thanks for any help. _________________ Michael J. Hubbard
I was able to get done what I wanted by coming to a better understanding of Model queues and the ways that queues can be created using them. _________________ Michael J. Hubbard
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