How to add reference dlls to a dll already loaded using JNA loadlibrary method

This is the scenario, i created a dll (A.dll) which in turn refers to another dll at runtime (runtime.dll). What i’m doing is, loading the A.dll using Java JNA library and calling few export methods from the A.dll.

My application crashes since A.dll dint find runtime.dll. How can i make A.dll refer to runtime.dll at runtime??

Source: dll

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.