how to remove unsatified linking error (dll linking)

hi,

I am having a problem while using Jbuilder4.0 that when i include a dll file and the java file that calls it. I get an error (Unsatisfied link error). please help URGENT have to submit a project! in 5 hours GOOD ENUFF! maybe i am not including a dll

\* //////////////////////////////////////////// *\

this is the java side code of the JNI which i am including in the package.

package talkinghands;

class DGlove

{

public static float[] values = new float[7];

public static boolean status = false;

public static native void getValNative();

public static native void connectDG();

public static native void disconnectDG();

public static native boolean getStatus();

public static native float getSensor0();

public static native float getSensor1();

public static native float getSensor2();

public static native float getSensor3();

public static native float getSensor4();

public static native float getSensor5();

public static native float getSensor6();

static

{

System.loadLibrary("dg5dt");

}

public static void getValues()

{

getValNative();

values[0] = getSensor0();

values[1] = getSensor1();

values[2] = getSensor2();

values[3] = getSensor3();

values[4] = getSensor4();

values[5] = getSensor5();

values[6] = getSensor6();

}

public static void main (String[] args)

{

/*connectDG();

while(true)

{

getValues();

status = getStatus();

System.out.println(status);

for (int i =0; i<=6;i++)

{

System.out.println(values);

}

getValues();

for (int i =0; i<=6;i++)

{

System.out.println(values);

}

}*/

}

}

[1929 byte] By [criticalbilla] at [2007-9-26 3:03:55]
# 1
You didn't say anything about the dll. Did you compile it to use C linkages (not C++)?
bschauwe at 2007-6-29 11:04:18 > top of Java-index,Java HotSpot Virtual Machine,Specifications...