public static void StartNavigation(int inlX, int inlY, int inFlags, bool inbShowApplication, bool inbSearchAddress, int inMaxTime) { LONGPOSITION lp = new LONGPOSITION(inlX, inlY); SWayPoint wp = new SWayPoint(); wp.Location = lp; int ret = CApplicationAPI.StartNavigation(out _mySError, ref wp, inFlags, inbShowApplication, inbSearchAddress, inMaxTime); O("StartNavigation returns: " + ret.ToString() + ", errorcode: " + _mySError.nCode.ToString()); }