ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » C ++ and RFH2 headers

Post new topic  Reply to topic
 C ++ and RFH2 headers « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Mon Mar 07, 2005 4:26 pm    Post subject: C ++ and RFH2 headers Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I have a developer asking me for some sample code so they can see how this is done. Can anyone point me in the right direction, or provide a code snippet please?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 07, 2005 5:52 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.developer.ibm.com/tech/sample_code_handler.pl?action=display&object=/tech/sample_code/mq/jsmqput.c
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Mar 07, 2005 6:04 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Jeff, will C sample code be useful to a C Plus Plus programmer? I don't know anything about either language, so I can't guage how close the sample you pointed to is to what the end product needs to be.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
malammik
PostPosted: Mon Mar 07, 2005 9:13 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

The soccer game which comes as a demo app with the broker is a great example. Let me know if u need source for it.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
fschofer
PostPosted: Tue Mar 08, 2005 12:27 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
the support pack ih03 contains several C programs in the source
folder which also to some stuff with RFH headers

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000637&loc=en_US&cs=utf-8&lang=en

It's not C++ but you can call C code from C++ applications.

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Tue Mar 08, 2005 5:01 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Thanks guys, this should get me going.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 08, 2005 11:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

C++ is just object-oriented C. Like VB.NET is just object-oriented VB.

I don't know of a C++ equivalent to the JMS classes, or a C++ class that will handle the RFH2 header in an object oriented manner.

But the sample code should allow a C++ programmer to create such a class.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » C ++ and RFH2 headers
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.