Use .lib files in Java
843829Jan 15 2004 — edited Jan 15 2004Hello!
I have a question related to libraries use in Java. I received a ".lib" file that my java code was supposed to use. But the only way I know to use a library is to call System.loadLibrary(..) or System.load(..) method, and this does not work for ".lib" files(the error I get is java.lang.UnsatisfiedLinkError : "%1 is not a valid Win32 application").So, my questions are:
1. Is there some way to use a ".lib" library in Java?
2. If there is not, what should I do?Should I create a .dll that uses the .lib file or what?
Please help me!
=)
Thanks
Gi