public static int GetFieldsCount(int cursor) { if (Environment.Is64BitProcess) { return(OlapNativeImports64.GetFieldsCount(cursor)); } else { return(OlapNativeImports32.GetFieldsCount(cursor)); } }