Saturday, May 25, 2002 03:44 AM
I have created a dll called Hello.dll, which include a function called presentMainMenu. I use this dll to make a JNI-call in my java file, and if the java file doesn't specify a package it all works fine.
When I, however, add the java file to a package, it can't find the function and outputs: "java.lang.UnsatisfiedLinkError: presentMainMenu".
It is NOT complaing that it can't find the dll file , because if this is missing it outputs "java.lang.UnsatisfiedLinkError: no hello in java.library.path"
Any ideas about why this error occurs will be appreciated.