posted 19 years ago
I am getting an UnsatisfiedLinkError at runtime, and I can't understand why. Class FS2 begins with
FS2.h declares the native method like this:
And the function is implemented with a copy/paste, and compiled to FS2CFunk.dll.
The only idea I can come up with is the return type causing problems... I declare the array to be returned with
int *itArray = new int[scrX * scrY];
and then return it by casting
return (jintArray)*itArray;
Ideas?