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 Discussion » MQAX200.DLL / AMQMDNET.DLL Question

Post new topic  Reply to topic
 MQAX200.DLL / AMQMDNET.DLL Question « View previous topic :: View next topic » 
Author Message
ddm
PostPosted: Thu Apr 01, 2004 3:01 pm    Post subject: MQAX200.DLL / AMQMDNET.DLL Question Reply with quote

Apprentice

Joined: 17 Nov 2003
Posts: 40

I have a wrapper for MQAX200.DLL that goes like this:

objPutMsg.MessageData = sInMessage

where sInMessage is a string.

Now I am trying to do the same thing in .net and I noticed that there are several write methods

I want to know what is its corresponding write method in .net. Also how do I read a message?

I tried WriteUTF/ReadUTF and it seems to cut the first 2 chars of my string.

Thanks!
Back to top
View user's profile Send private message
JasonE
PostPosted: Fri Apr 02, 2004 2:34 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

utf format (java) is a 2 byte length followed by the utf8 encoded string.

Try writeString, but bear in mind it will go in in unicode unless you change the codepage!
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 » General Discussion » MQAX200.DLL / AMQMDNET.DLL Question
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.