//AddPoi with LocationFromAddress
        public static void AddPoi(string inStrAddress, bool inBPostal, bool inBValueMatch, string inCategory, string inName, bool inSearch_address, int inMaxTime)
        {
            LONGPOSITION lp;
            int          ret = CApplicationAPI.LocationFromAddress(out _mySError, out lp, inStrAddress, inBPostal, inBValueMatch, inMaxTime);

            O("LocationFromAddress returns: " + ret.ToString());
            SPoi p = new SPoi(lp, inCategory, inName, inSearch_address ? 1 : 0);

            ret = CApplicationAPI.AddPoi(out _mySError, ref p, inMaxTime);
            O("AddPoi returns: " + ret.ToString());
        }
        public static void AddPoi(int inX, int inY, string inCategory, string inName, bool inSearch_address, int inMaxTime)
        {
            LONGPOSITION lp;

            lp.lX = inX;
            lp.lY = inY;
            SPoi p   = new SPoi(lp, inCategory, inName, inSearch_address ? 1 : 0);
            int  ret = CApplicationAPI.AddPoi(out _mySError, ref p, inMaxTime);

            O("AddPoi returns: " + ret.ToString());
        }