Exemplo n.º 1
0
        private void OnError(DatatreeDotNet.dt_status_t status, [InAttribute()] [MarshalAsAttribute(UnmanagedType.LPStr)] string msg, [InAttribute()] [MarshalAsAttribute(UnmanagedType.LPStr)] string pos, IntPtr row, IntPtr col)
        {
            string _msg = "Datatree parsing error:" + Environment.NewLine;
            _msg += "  error code: " + status.ToString() + Environment.NewLine;
            _msg += "  error message: " + msg + Environment.NewLine;
            _msg += "  error pos: {row: " + row.ToString() + ", col: " + col.ToString() + "}" + Environment.NewLine;

            Error(_msg);
        }