in my program, i have a native method, i don't know how to use the loadLibrary method, and where to save the .dll file?
when i run my program, i had this error:
Can't find dependent libraries
what is the solution?
I'm no java programmer but maybe this exerpt can help -
public synchronized void loadLibrary( String libname )
the name of the library.
Loads the dynamic library with the specified library name. The mapping from a library name to a specific filename is done in a system-specific manner.
First, if there is a security manager, its checkLink method is called with the filename as its argument. This may result in a security exception.
If this method is called more than once with the same library name, the second and subsequent calls are ignored
__________________ Omnis mico antequam dominus Spookster!