My java 1.5 application (running on Windows 7) accesses btrieve files, from Pervasive Software (PVSW). I use a JAR file supplied by PVSW, named psql.jar. This JAR accesses several DLLs. Most of the time my application runs without error, but sometimes, on the initial load of the JAR file I get a java exception:
jnibtrv.dll - cannot find dependent libraries
Restarting the computer fixes the problem - until the next time it happens. I have profiled my application with "Dependency Walker" (version 2.2). The error did not occur during profiling, but it also didn't even show that file jnibtrv.dll was loaded.
How can I find what dependent library is missing?