|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How can i put a image file to a q? help |
« View previous topic :: View next topic » |
Author |
Message
|
rliang |
Posted: Tue Aug 14, 2001 10:46 pm Post subject: |
|
|
Novice
Joined: 12 Aug 2001 Posts: 14
|
I am writing a application using VB need to put image file to the q and get the file off the Q. I am using mqclient runing in NT4 workstation connected to a MQ server running on Win2k, in the MQMD object what format should be used, as the MQGET API call required a string buffer for the return message, does that matter? anyone have some sample code for putting and getting binary format message (big file) to q in VB? any help will be appreciated
Ray |
|
Back to top |
|
 |
kolban |
Posted: Wed Aug 15, 2001 4:20 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
Ray, the Format field of the MQMD data structure is primarily used to allow MQSeries to perform automated data translation when a message crosses from one MQSeries platform to another where either internal integer or character representations differ. If you specify an MQMD Format value of MQFMT_NONE, this is an indication that binary data is included in the message and no attempt at transformation should occur, which, I believe, is what you wish to happen for graphics images. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|