dcsimg
How to return an object of the legacy C++ code to the Java side using JNI
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anitha_Jayaram
Posted On:   Monday, August 27, 2001 10:29 PM

The project i am working on needs to return a user defined C++ object of an existing legacy C++ system to the Java Side. Could u please suggest a way to work around with objects of a legacy code.

Re: How to return an object of the legacy C++ code to the Java side using JNI

Posted By:   Alexander_Krapf  
Posted On:   Thursday, August 30, 2001 07:33 PM

Hi Anitha,


Check out this page for a related discussion.

Basically, you will want to maintain an object pointer as an integer in the Java object and use native synchronization methods.


Good luck,


Alex

About | Sitemap | Contact