|
Jni dll hell -
11-02-2009, 06:56 AM
Unable to load native library: Can't find dependent libraries
I tried to run the sample project with Caffeine (Java-.NET interop framework). I was constantly getting an error „unable to find dependent libraries“ when the execution was about to load the JVM.
The dependency walker shows that jvm.dll is missing a function in mpr.dll (similar to dwmapi.dll problem frequently mentioned on the internet). Is it that loading jvm.dll forces loading of all dependent dlls, not using delayload-ing?
Or am I doing something wrong? I tried to run JNI as a simple native C++ project as well but I had the same problem.
Thanks a lot!
Artur
|