UnsatisfiedLinkError when compiling DLL on one PC and using on other
I have made a DLL to use within java, and it works fine when I use it on the machine that it was compiled on. However, when I take the DLL to a second machine, I get the following error when trying to use it in the SAME project, which is also a copy of the one in my PC. :-
java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\wscSystemStats.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
at java.lang.Runtime.load0(Runtime.java:737)
at java.lang.System.load(System.java:811)
at
....
...
I am not really a C++ guy, and have not used JNI extensively. What could be the problem?

