|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
using C# and the mqm - reason code 2134 |
« View previous topic :: View next topic » |
Author |
Message
|
nhanks |
Posted: Fri Feb 01, 2002 6:30 pm Post subject: |
|
|
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 |
|
 |
kolban |
Posted: Fri Feb 01, 2002 9:19 pm Post subject: |
|
|
 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 |
|
 |
nhanks |
Posted: Mon Feb 04, 2002 11:50 am Post subject: |
|
|
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 |
|
 |
spoimala |
Posted: Wed Feb 06, 2002 4:31 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|