Exemplo n.º 1
0
        public static void SetErrorFunc()
        {
            if (errorTrapped)
            {
                return;
            }

            queue = new Queue(10);

            VistaDBAPI.ivdb_ErrorLevel(2);

            errorFunc = new VDBUserErrorFunc(UserErrorFunc);
            VistaDBAPI.ivdb_SetErrorFunc(errorFunc, 0);
            errorTrapped = true;
        }
Exemplo n.º 2
0
		public static int ivdb_SetErrorFunc(
			VDBUserErrorFunc func, 
			int pUserErrorInfo
			)
		{
			return vdb_SetErrorFunc(func, pUserErrorInfo);
		}
Exemplo n.º 3
0
		private static extern int vdb_SetErrorFunc(
			VDBUserErrorFunc func, 
			int pUserErrorInfo
			);
Exemplo n.º 4
0
		public static void SetErrorFunc()
		{
			if( errorTrapped )
				return;

			queue = new Queue(10);

			VistaDBAPI.ivdb_ErrorLevel(2);

			errorFunc = new VDBUserErrorFunc(UserErrorFunc);
			VistaDBAPI.ivdb_SetErrorFunc(errorFunc, 0);
			errorTrapped = true;
		}