NEW to JNI..

I try'd the example of JNI

Creating an DLL from a some C files..

and it's work'd fine

In my case in need to use JNI on API written in C that i got

the files that i have are

some H files and one LIB file

what sould i do ..

i must load an DLL file ,

can i load the LIB file.

dont know what to do.

thanks

[373 byte] By [shay_tea] at [2007-10-3 4:12:26]
# 1

I'm assuming this:

JVM <--> your JNI DLL <--> other DLL

So while building your JNI DLL, you simply need to link it with your other DLL.

To achieve this with VC++ you simply provide the (other DLL.) LIB file at the LINK command along with your other(s) OBJ file(s).

Regards

jfbrierea at 2007-7-14 22:13:11 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Thanks...
shay_tea at 2007-7-14 22:13:11 > top of Java-index,Java HotSpot Virtual Machine,Specifications...