Hi;
I search an JNI example with C/C++ to check if it is possible to send a java object with JNI.
I have a class java “A” with 2 methods:
- getCustomer (): get an java object Customer
- checkCustomer (Customer c): print an Customer object
The external prog (C/++ or other) calls the method “getPeronne” to retrieve an Customer object empties, it fills and it must return to java prog via the method checkCustomer or another means to be store in database.
For the “getPersonne” method it is OK for my but I would like to know how implement the return of object “Customer” ?
Regards;
I search an JNI example with C/C++ to check if it is possible to send a java object with JNI.
I have a class java “A” with 2 methods:
- getCustomer (): get an java object Customer
- checkCustomer (Customer c): print an Customer object
The external prog (C/++ or other) calls the method “getPeronne” to retrieve an Customer object empties, it fills and it must return to java prog via the method checkCustomer or another means to be store in database.
For the “getPersonne” method it is OK for my but I would like to know how implement the return of object “Customer” ?
Regards;