Search found 85 matches: errorblock

Return to advanced search

Re: FWErrorsys()

FWH procedure FWErrorSys() is identical to FWH procedure ErrorSys() that it is automatically called by Harbour.

procedure ErrorSys() invokes function ErrorBlock() to replace the default application errorBlock:

ErrorBlock( { | e | ErrorDialog( e ) } )
by Antonio Linares
Wed Apr 03, 2024 7:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWErrorsys()
Replies: 8
Views: 1828

Re: Consulta sobre falla de programa....

Estimado José,

Prueba a hacer:

ErrorBlock( { | oError | .F. } ) // Prueba con .T. también
by Antonio Linares
Fri Sep 22, 2023 1:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre falla de programa.... (RESUELTO)
Replies: 3
Views: 339

Custom error handling

... exist, unknown or unregistered symbol, etc.) in a log file for subsequent analyses. I tried to override ERRORSYS procedure or to define a custom ERRORBLOCK but in both way I was not able to obtain the log file. Could someone point out what is the correct way to create custom error handling in ...
by berpa
Wed Mar 08, 2023 11:07 am
 
Forum: mod_harbour
Topic: Custom error handling
Replies: 0
Views: 302

Mystery with SEQUENCE

... nOptionLOCAL bSaveError, oError   IF oTab:IsKindOf( "TFOLDEREX" )* #define Use_SEQUENCE#ifdef Use_SEQUENCE      bSaveError := ERRORBLOCK()      ERRORBLOCK( { | e | BREAK( e ) } )      BEGIN SEQUENCE#endif      nOption := oTab:nOption      FOR ...
by Jimmy
Wed Mar 01, 2023 11:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mystery with SEQUENCE
Replies: 1
Views: 251

Re: Enhance errorsys.prg

... Startup, is "last Chance" to retry ... but most it is "too late" :( at Runtime i do use BEGIN SEQUENCE and a "new" Errorblock. depend on "oError" you can try to "react" on it LOCAL oError, bError   bError := ERRORBLOCK( { | oErr | BREAK( ...
by Jimmy
Tue Nov 30, 2021 6:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Enhance errorsys.prg
Replies: 8
Views: 821

Re: Lost connection MySQL - Catch error

... solution. If connection is not reconnected when it ask again for something, it give me another fatal error and quit. Is there any way to implement ErrorBlock for mysql in general? I tried this: main: ErrorBlock( { | oError | GetErrorInfo( oError ) } ) ********************function ...
by nlerdafehn
Tue May 18, 2021 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lost connection MySQL - Catch error
Replies: 5
Views: 888

Re: problema con DrawBitmap() usando tCodeBars

... != 0 hb_zebra_destroy( ::hData ) oError := ErrorNew() oError:SubSystem = "TCODEBARS" oError:SubCode = nError oError:Severity = 2 Eval( ErrorBlock(), oError ) endif RETURN nil #pragma BEGINDUMP #include <hbapi.h> #include <windows.h> HB_FUNC( CREATECOMPATIBLEBITMAP ) // hDC, ...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1034

Re: Errsysw not working

Tim, Are you calling ErrorBlock( { | oError | MyErrorSystem( oError ) } ) from your main PRG ? function MyErrorSystem() is a function provided in your own errsysw.prg In the source dir. there are 2 errorsys prg's. one is more extended ...
by Marc Venken
Wed Feb 24, 2021 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Errsysw not working
Replies: 5
Views: 524

Re: Errsysw not working

Tim,

Are you calling ErrorBlock( { | oError | MyErrorSystem( oError ) } ) from your main PRG ?

function MyErrorSystem() is a function provided in your own errsysw.prg
by Antonio Linares
Wed Feb 24, 2021 7:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Errsysw not working
Replies: 5
Views: 524

Re: TSBrowse 6.0 sale del sistema sin pasar por ErrorBlock

Haz un DIR *.log /od en la carpeta donde tienes el ejecutable y haber si tienes alguno y en él tienes grabado el error irrecuparable (irrecuperable porque no pasó por el control de errores standard)
by hmpaquito
Wed Feb 10, 2021 8:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBrowse 6.0 sale del sistema sin pasar por ErrorBlock
Replies: 1
Views: 170

TSBrowse 6.0 sale del sistema sin pasar por ErrorBlock

... por el controlador de errores de FiveWin, solo se sale y no dice nada. Intento cachar el error con este código, pero aun así se sale y no pasa por ErrorBlock. Alguna idea ? bDefErrHandler:=ErrorBlock( { | o | ErrorGuardaPoliza( o ) } ) Trabajo con FWH701 y xHarbour 0.99.71 (Simplex) de antemano ...
by Joel Andujo
Wed Feb 10, 2021 12:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBrowse 6.0 sale del sistema sin pasar por ErrorBlock
Replies: 1
Views: 170

problemas al linkear

Hola. usando harbour y Fwh la ultima. Me arroja estos errores: [1]:iLink32.Exe -Gn -q -aa -Tpe -x @testMaria.bcl Error: Unresolved external 'WinMain' referenced from X:\HARB\BCC7\LIB\C0W32.OBJ Error: Unresolved external '_hb_vmProcessSymbols' referenced from X:\PROYECTOS\TEST\MARIA\OBJ\MARIA.OBJ Err...
by goosfancito
Thu Feb 04, 2021 9:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas al linkear
Replies: 6
Views: 442

Re: error handler acting odd

Don, Harbour uses function ErrorBlock( bNewErrorBlock ) --> bPreviousErrorBlock to set/retrieve the errorblock. As it uses a codeBlock as the param there is no way to retrieve the used function from the codeBlock. Anyhow, you can use ...
by Antonio Linares
Tue Jul 21, 2020 3:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: error handler acting odd
Replies: 3
Views: 368

Re: how to fix Black frame start with WMPlayer.OCX? *Fixed*

hm ... where does those sign come from ... :o i have to disable BBCode [code=fw] oActiveX:Settings:AutoStart := .T. bOldError := ERRORBLOCK( { | e | BREAK( e ) } ) BEGIN SEQUENCE oActiveX:URL := cPlayFile [/code]this Way Video start from 0:00 but you can change it to [code=fw] oActiveX:Settings:AutoStart ...
by Jimmy
Thu Oct 03, 2019 4:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to fix Black frame start with WMPlayer.OCX? *Fixed*
Replies: 13
Views: 1967

Debug

How to load the debug?

I tried with some explanations that I saw in the forum but when I compile with the / b option the following error message appears: Unrecoverable Error 9002 - No errorblock () is error

who can help me?
by shark
Sun Mar 10, 2019 3:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Debug
Replies: 2
Views: 413
Next

Return to advanced search