public static void GetPoiList(string inStrCategory, bool inBSearchAddress, int inMaxTime) { SPoi[] pois; int ret = CApplicationAPI.GetPoiList(out _mySError, out pois, inStrCategory, inBSearchAddress, inMaxTime); O("GetPoiList returns: " + ret.ToString() + "error: " + _mySError.nCode.ToString()); if (pois != null) { for (int i = 0; i < pois.Length; i++) { O(i.ToString() + ". poi: " + pois[i].GetName() + ", " + pois[i].GetAddress()); } } }