I have a dll which has a method for e.g void abc(meth* myMeth)
and a structure
struct meth
{
int a;
char b[255];
}
The above code code is written in c. I need to map this to Java through JNI, and I am stuck. How can I pass a reference to the method abc
as a pointer from a Java method, and how can I set the values of a
and b
and then pass back to Java again?
Need An Urgent Help....Thanks