Customer is developing in a Windows environment (Windows 2000). Both Java and C++ are compiled on Windows. C++ is compiled using Visual Studio 6 SP3. They are using version 1.3.1-b24 of the JVM.
Their problem description is below:
When they try to load the Java VM with JNI_CreateJavaVM. the process exits and crash dumps. This happens when the code is compiled as a DLL and dynamically linked with another internal DLL. An intersting thing to note is that this call does not fail when the same code is compiled to a .lib and statically linked.
A brief piece of code indicating the manner in which the init is called is attached.
I have the call stack and the crash dump if that would be useful.
Their problem description is below:
When they try to load the Java VM with JNI_CreateJavaVM. the process exits and crash dumps. This happens when the code is compiled as a DLL and dynamically linked with another internal DLL. An intersting thing to note is that this call does not fail when the same code is compiled to a .lib and statically linked.
A brief piece of code indicating the manner in which the init is called is attached.
I have the call stack and the crash dump if that would be useful.