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 » General IBM MQ Support » How to convert imqbinary to CString

Post new topic  Reply to topic
 How to convert imqbinary to CString « View previous topic :: View next topic » 
Author Message
Sam G Zhao
PostPosted: Thu Jun 30, 2005 6:33 pm    Post subject: How to convert imqbinary to CString Reply with quote

Newbie

Joined: 30 Jun 2005
Posts: 2

In my project , I need read messageid of every message in queue. In order to match message out and in , I have to get msgid and corrid with no doubt. Question ahead , I need convert imqbinary to CString ,for saving msgid in DB.
After searching in ciber ,I find a way , but no result.
1)Get Msgid from message in queue;
2)Put msgid in Imqbinary entity;
3)Copy out ot another ImqMessage;
4)Readitem of this imqmessage;

the result is null .

I need your help really . Which tool I program is VC++ 6. thanks.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
fjb_saper
PostPosted: Fri Jul 01, 2005 11:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

The only way to accurately display a byte array in string form is to display the value of each of its byte. The most common form to do this is using a hex string representation of each byte. (00-FF)

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to convert imqbinary to CString
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.