Hi,
I am trying to test a library somebody wrote and that library is using msvcr80.dll
So in my little java test program goes like this:
try {
System.loadLibrary("advapi32");
System.loadLibrary("msvcr80");
// code removed for simplicity
} catch (UnsatisfiedLinkError e) {
System.err.println("Library failed to load.\n" + e);
}
But I always get an exception when trying to load msvcr80:
Runtime Error!
Program: C:\Program Files\Java\jre6\bin\javaw.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
What's the problem? The DLL can be found no problem (it's in the path pointed by java.library.path) but cannot be loaded. Is there another DLL that needs to be loaded beforehand besides advapi32?
Thanks.