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