I\'m running a library via JNI (I didn\'t write it), and internally it calls another DLL. I get an error saying \"Can\'t find dependent libraries\" unless I put the path of
If you have a DLL name 'MyNativeDLL.dll' then you should use 'MyNativeDLL' in your LoadLibrary call.
Use Dependency Walker to check if there are any files required by MyNativeDLL.dll
If there are, include them in the same folder as MyNativeDLL.dll - one you get it working try putting the additional required files in System32 folder.