If you cannot changed the name of your function in the library,
you have to create JNI wrapper for this function. You call this
wrapper from Java using JNI and make your function call from this
wrapper. You also have to link your shared C++ library.
Jacob Nikom
[EMAIL PROTECTED] wrote:
>
> Hi,
>
> Is it possible to use functions from an existing shared library (written in C++) in
>Java ???
> I read that I have to use the JNI. Can anyone tell me exactly how this works ????
>
> Thanks ...
> E-Mail : [EMAIL PROTECTED]
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]