Dependency Walker error: No DOS or PE signature found.
843829Feb 26 2010 — edited Feb 26 2010Hi my JNI HelloWorld program kept throwing the error (unsatified link error) cannot find dependent libraries, at run time on the CMD.
I'm using visual studio 2005 as a compiler from the cmd and I have been following the compiling instructions of this website:
http://www.java-tips.org/other-api-tips/jni/simple-example-of-using-the-java-native-interface.html
So from the advice of some websites I used dependency Walker which throws the error: No DOS or PE signature found. This file is not a valid 32-bit or 64-bit Windows module
I would love some help in understanding and resolving this error :)
Note: I'm compiling the files on a 64-bit windows OS, and following the msdn tutorial on - How to: Enable a 64-Bit Visual C++ Toolset at the Command Line