where is a good place to start learning JNI, coz i want to load a .lib file from my machine, but all i can find is how to load .dll files, on windows machines. is it possible to load a .lib file from windows
tia
Paul
where is a good place to start learning JNI, coz i want to load a .lib file from my machine, but all i can find is how to load .dll files, on windows machines. is it possible to load a .lib file from windows
tia
Paul
No. Libs are static linking libraries. You need to create a .dll and use JNI calls to call the lib functions. It’s a pain.
Cas
basically what i have to do, is thus converting the .lib file to a .dll one, the library in question is here
http://www.ius.cs.cmu.edu/IUS/usrp2/rgw/www/tsai30b3.zip
or should i write a .dll that will pass values, given from java, through jni, to the .lib file and have it read back also?!
thanks in advance;)
Do you have an idea what lib files are?
You can’t do anything with a lib file, exept to import a part of code into compiled file.