I need to call some C functions from my ND pages.
Using JNI I can call the native methods, using JNI in ND4.1.2 I can't.
The exception ND arises is "UnsatisfiedLinkError".
I'm using Windows NT, jdk1.1.7, ND4.1.2.
These are pieces of my code...
custom java class (ND user module):
package proveJNI;
class API1
{
public native int returnYesNo(String s);
static
{
System.loadLibrary("d:\\Netdynamics\\Netdynamics40\\Projects\\proveJNI\\myLib");
}
}
portion of a page:
...
String sField = getDisplayFieldValue("tbRSField").toString();
iOK = new API1().ritornaSiNo(sCampo);
if (iOK == 0) CSpider.putUserSessionObject("YES_NO", new CSpString("YES"));
else CSpider.putUserSessionObject("YES_NO", new CSpString("NO"));
...
Anyone can help me?
I have seen a lot of similar questions in this forum ... but there aren't answers!
Thanks,
Cristiano
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]