FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Debug with FW 7.07
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Debug with FW 7.07
Posted: Wed Jul 18, 2007 01:42 PM

Antonio

I try the debug (ALTD.PRG) with FW 7.07 and xHarbour but it does'n work .
( with FW2.5 it works very well )

Regards MAurizio

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Debug with FW 7.07
Posted: Wed Jul 18, 2007 03:41 PM

Maurizio,

Are you using GTWIN.lib instead of GTGUI.lib ? (just for debugging)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Debug with FW 7.07
Posted: Wed Jul 18, 2007 04:06 PM

Antonio ,

debug works with GTWIN.lib

but I have to change always the LIb or there are a better solution ?

Regards Maurizio

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Debug with FW 7.07
Posted: Wed Jul 18, 2007 04:32 PM

You have to change the lib as the debugger output goes to a text console

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 396
Joined: Tue Mar 18, 2008 09:41 PM
Debuger
Posted: Tue Aug 19, 2008 11:31 AM
Hola Antonio,

Estoy intentando usar el debug, tras seguir las indicaciones que he visto en el foro.

Pero al reemplazar la llamada a GTGUI.LIB por GTWIN.LIB, me da un error al linkar, que dice as铆:

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_HB_GT_GUI' referenced from C:\FWH\LIB\FIVEH.
RRSYSW
* There are errors
Javier,

FWH 8.04 2008
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Debug with FW 7.07
Posted: Tue Aug 19, 2008 04:52 PM

Javier,

Prueba a comentar esta l铆nea en fwh\source\function\errsysw.prg:

//  REQUEST HB_GT_GUI

solo para usar el debugger. A ver si te funciona bien, gracias

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 396
Joined: Tue Mar 18, 2008 09:41 PM
Errsys
Posted: Tue Aug 19, 2008 11:14 PM

Antonio,

驴a que libreria pertenece errsysw.prg?

pues supongo debo recompilarlo y reemplazarlo de alguna libreria ... :?

Javier,

FWH 8.04 2008
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Debug with FW 7.07
Posted: Wed Aug 20, 2008 06:37 AM

Javier,

Pertenece a la de m贸dulos en PRG: FiveH.lib 贸 FiveHX.lib, seg煤n uses Harbour 贸 xHarbour.

Pero para hacer una prueba es suficiente con que copies el contenido de errsysw.prg al final de tu PRG y ah铆 lo modifiques, asi no tienes que tocar las librer铆as :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Debug with FW 7.07
Posted: Wed Aug 20, 2008 09:43 AM

Javier,

La soluci贸n correcta es cambiar:

REQUEST HB_GT_GUI

por

REQUEST HB_GT_WIN

en fwh\source\function\errsysw.prg, para que el debugger pueda funcionar con Harbour (esto no es necesario con xHarbour)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 396
Joined: Tue Mar 18, 2008 09:41 PM
Debug with FW 7.07
Posted: Wed Aug 20, 2008 07:20 PM

Antonio,

Ya he compilado con la modificaci贸n, pero lo unico que sale al ejecutar el programa, es una ventana con fondo negro tipo MS-DOS. Que no pone nada.

:oops:

Javier,

FWH 8.04 2008
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Debug with FW 7.07
Posted: Wed Aug 20, 2008 08:22 PM

Javier,

Prueba con el c贸digo fwh\samples\AltD.prg, gracias

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion