Error Having access DLL

hi all,

I am trying to have access a DLL written in I linguegem C, but I am not obtaining...

I also have the archive h and nao I have the source of the DLL...

The call of the function in the header file is Int16 PPEXPORT PP_iOpen (void);

my class is

public class Test {

private static native void PP_iOpen();

public static void main(String[] args) {

System.loadLibrary("ppsetis"); // --> DLL

PP_iOpen();

}

}

The following error is happening :

java.lang.UnsatisfiedLinkError: PP_iOpen

at Teste.PP_iOpen(Native Method)

at Teste.main(Teste.java:8)

Exception in thread "main"

Somebody already passed therefore?

Thanks

Positive Vibrations

Lucas Ferst

[777 byte] By [lgferst] at [2007-9-30 21:02:11]
# 1
> The call of the function in the header file is Int16 PPEXPORT PP_iOpen (void);That isn't a JNI method.Java only calls JNI methods.You must write a JNI wrapper method and then call that.
jschell at 2007-7-7 2:34:15 > top of Java-index,Administration Tools,Sun Connection...