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