Author |
Message
|
rax |
Posted: Wed Feb 16, 2005 1:52 am Post subject: Java / C ++ |
|
|
 Novice
Joined: 23 Feb 2004 Posts: 22
|
hi,
I've a problem related to java/ C++.
I've a java String object that is unicode (16 bit). if i send that String Object through Queue (WebSphere MQ ) and the other side one C++ application has to work on that String. Will it work? i m asking as in C++ size of string is 8 bit.
suggest me....
Thanks
-rax |
|
Back to top |
|
 |
PGoodhart |
Posted: Wed Feb 16, 2005 4:42 am Post subject: |
|
|
Master
Joined: 17 Jun 2004 Posts: 278 Location: Harrisburg PA
|
As both have APIs that are designed for that particular language I don't think you'll have a problem. The string type is a part of the language, not MQ. _________________ Patrick Goodhart
MQ Admin/Web Developer/Consultant
WebSphere Application Server Admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Feb 16, 2005 4:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There's plenty of C support for Unicode. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
rax |
Posted: Wed Feb 16, 2005 10:45 pm Post subject: request for a snipped |
|
|
 Novice
Joined: 23 Feb 2004 Posts: 22
|
Thanks for ur response
Can u give me one example where native MQ application (C, C++) is serving a queue and a Java application is making a request to that queue and receiving the response.
A simple example will do enough.
Thanks & Regards
rax |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Feb 17, 2005 5:04 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Any of the sample C programs that put messages will be able to talk to at least one of the Java sample programs that get messages. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Feb 17, 2005 7:54 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
|