The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Java to C++

Posted by Shankar on September 28, 2001 at 9:54 AM

I have written a small "swapping of two integers" application in Java that calls C++ application which has the method for swapping. I made this using JNI. But I need the two swapped values back to Java.
How is it possible??
In One sentence, I mean how to get back referenced values??
[This is possible when i used MSVJ++ and passing the integers as Variant data type]
I need it out of VJ ie in Pure java

Thanks in Advance

  • Java to C++ Alexander Klimenko October 02, 2001 at 12:33 PM (0)

Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us