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!

JNI "calling convention"

843829Sep 13 2004 — edited Sep 14 2004
Hi

BIt of a newbie to JNI, so please excuse if my question isn't too clear.

I have read that the JNI calling convention on Win32 is "stdcall" - here:
http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/design.html

But I have built a dll using "extern C", and am able to call this dll succesfully from JAVA.

How is this possible?

Are there any implications for the catching of exceptions in the JVM (i.e. exceptions
generated in the native dll).

THanks,

Papandayan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 12 2004
Added on Sep 13 2004
3 comments
669 views