I Wanted to convert a c# code to j# and somehow managed to get over dllimport and marshalas.
Problem is, when a function has a reference to an object - ref isn't recognized
public static native int Mathod(ref Type type, int flags);
Anyone has any experience with j# and know how to send references to a method (or define a type in a method as a reference)