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 IndexIBM MQ API Supportusing C# and the mqm - reason code 2134

Post new topicReply to topic
using C# and the mqm - reason code 2134 View previous topic :: View next topic
Author Message
nhanks
PostPosted: Fri Feb 01, 2002 6:30 pm Post subject: Reply with quote

Novice

Joined: 18 Dec 2001
Posts: 13

I am trying to reference the mqm library from C# and am having trouble
marshaling the structures (for example MQBO) to the MQBEGIN function. The
reason code returned is 2134.

Are there any tools to see how this is marshaled to the mqm library?

If anyone has a suggestion or has insight into this process it would be
greatly appreciated.

Thanks,
Nathan Hanks
Back to top
View user's profile Send private message
kolban
PostPosted: Fri Feb 01, 2002 9:19 pm Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Can C# utilize COM/ActiveX objects? If this is the case, I think you'll probably have better luck using the MQ COM interface.
Back to top
View user's profile Send private message
nhanks
PostPosted: Mon Feb 04, 2002 11:50 am Post subject: Reply with quote

Novice

Joined: 18 Dec 2001
Posts: 13

I finally got this to work - C# was null terminating the StrucId field. Hence the mqm was returning invalid. Instead of using inline string buffer, I marshaled the field as a character array.
Back to top
View user's profile Send private message
spoimala
PostPosted: Wed Feb 06, 2002 4:31 am Post subject: Reply with quote

Novice

Joined: 05 Feb 2002
Posts: 10

Nathan, would you like to help me a little.
Please, tell me your email address.

Sami Poimala
spoimala@st.jyu.fi
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ API Supportusing C# and the mqm - reason code 2134
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.