This week's book giveaway is in the
We're giving away four copies of
Head First Android
and have Dawn & David Griffiths on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
C++ DLL using JNI problem
Joined: May 09, 2013
May 14, 2013 02:35:50
I have a signed
, using a dll by means of JNI.
The problem is, when using my new dll, the applet crashes on System.load() (No error, just stops working)
The old dll runs fine...
What could I be doing wrong?
Joined: Apr 19, 2013
May 14, 2013 04:20:10
Difficult to say perhaps the headers have changed from old to new dll.
Could you try a standalone java main that load the dll? Perhaps is more verbose about the error.
In windows system you could check the Event Views / Security for some error event
or use the sysinternals tool procmon to monitorize unsuccessful operations
Joined: Oct 08, 2010
May 14, 2013 04:30:28
Also, check the version of java is in same architecture (32/64 bit) as that of the operating system and the created c++ code/DLLs.
I ahve observed , this causes a problem many a times.
I agree. Here's the link:
subject: C++ DLL using JNI problem
loadLibrary.sunec - access denied
EXCEPTION_ACCESS_VIOLATION when calling jni method in Weblogic
How to use VB .dll in java
ActiveX to Java
signed applet issue
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015