Hello,
i would like to create a dll to an existing C code.
i created the jni C and H code, i compiled it, i created a test code:
static{
System.loadLibrary(“helpsm”);
HelpSMServices.updateMtx2();
HelpSMServices.updateMtx2();
}
this works fine…
when i want to make this calls from the jogl display method i got this:
An unexpected error has been detected by HotSpot Virtual Machine:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d73c55d, pid=1560, tid=3080
Java VM: Java HotSpot™ Client VM (1.5.0_05-b05 mixed mode, sharing)
Problematic frame:
V [jvm.dll+0x8c55d]
An error report file with more information is saved as hs_err_pid1560.log
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
What can i do? (i’m using visual studio 6 for the dll creation)