Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

An unhandled win32 exception occured in java.exe , While running JNI

843829Sep 2 2008 — edited Sep 2 2008
I'm trying to use JNI to call 3rd party VB DLL , like this
JNI <> VC++ DLL <> VB DLL

In VC++DLL ,I have function(named Open) that call 3 function in VBDLL
I have tested c++ code this function (by copy it and paste in normal vc++ project) ,and It works !

But when I call this function(Open) via JNI , I've got "An unhandled win32 exception occured in java.exe" by Visual Studio Just-in-Time Debugger !!
I think the problem is in the 3rd function that I call in Open, because when I remove the 3rd function It doesn't raise any exception.

Before I do this, I alrealdy test every function in VBDLL in VB Project , and they work fine (Include the 3rd function that I think It cause exception).

Can anybody tell me what's going on here ?
or anything that I can do to fine What cause this problem ?

Thanks in advance ^^

Edited by: voteforpedro on Sep 2, 2008 4:18 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2008
Added on Sep 2 2008
1 comment
669 views