I'm good in c# and i need help in JAVA.
I have a c++ function that outs 4 variables
int Func1(int inParam1, unsigned char* inParam2, int *outParam1, int *outParam2, int *outParam3, unsigned char** outParam4);
I can call this function from C# using PInvoke like this
[DllImport("CLSFPCaptureDLL.dll"]
int Func1(int inParam1, byte[] inParam2, out IntPtr outParam1, out IntPtr outParam2, out IntPtr outParam3, out IntPtr outParam4);
But now i need to call the c++ function in java. I have write a JNI with a java class that needs to out these 4 variables. How can i do it in JAVA ?