order of arguments while calling a Java method from C
Hi
are there any rules to order the transferred arguments ?
I wanted to transfer a native window event from C to Java and if the called
java method is declared like this: (int, long, int) (IJI)V
public static void nativeMouseButtonDownCallback(int wParam, long lParam, int which)
the value of 'which' is not correct (always the same independent from what I set it to in the C function)
If I declare the java method like this: (int, int, long) (IIJ)V
public static void nativeMouseButtonDownCallback(int which, int wParam, long lParam)
everything is fine.
Any information appreciated !
Bye Mark

