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 inconsistent

843829Feb 2 2006 — edited Feb 6 2006
Here's my case.

(C++ Class) <-> (JNI/DLL) <-> Java Wrapper <-> Simple Java Application

With the above case, I have no problem with the java application.
Everything is working correctly. But..

(C++ Class) <-> (JNI/DLL) <-> Java Wrapper <-> Complex Java Application

The above behaves differently. There were method/function calls that does not return the desired result. Instead of an appropriate value, zero is always returned.

BTW the functions called were microsoft functions. eg.
RegQueryInfoKey, HrQueryAllRows.

Any ideas?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 6 2006
Added on Feb 2 2006
6 comments
193 views