FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index All products support leggere test,hrb
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
leggere test,hrb
Posted: Tue Feb 07, 2023 04:25 PM

potrei vedere il listato di test.hrb ?
Come ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: leggere test,hrb
Posted: Tue Feb 07, 2023 06:16 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: leggere test,hrb
Posted: Wed Feb 08, 2023 04:10 AM
hi,

for what are *.hrb File for :?:
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: leggere test,hrb
Posted: Wed Feb 08, 2023 08:47 AM

HRB files (Harbour Portable Object) contain pcode and the symbols table, so you can load them and run them, at runtime

You can create them using harbour.exe with the -gh flag

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: leggere test,hrb
Posted: Thu Aug 03, 2023 07:07 PM

Can I load a Hrb file (or more) where I insert some procedure or functions, from a fwh prg without use Harbour.exe ?

Can you make a test here to compile ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: leggere test,hrb
Posted: Fri Aug 04, 2023 04:12 AM

Dear Silvio,

> Can I load a Hrb file (or more) where I insert some procedure or functions, from a fwh prg without use Harbour.exe ?

yes

> Can you make a test here to compile ?

Please review hrb.prg and hrbext.prg in Harbour/tests folder

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: leggere test,hrb
Posted: Fri Feb 16, 2024 10:01 AM
Antonio Linares wrote:Dear Silvio,

> Can I load a Hrb file (or more) where I insert some procedure or functions, from a fwh prg without use Harbour.exe ?

yes

> Can you make a test here to compile ?

Please review hrb.prg and hrbext.prg in Harbour/tests folder
Antonio,
can load an Obj from a fwh exe file ?

I tried this prg but not run
Code (fw): Select all Collapse
#include "fivewin.ch"

FUNCTION Main()
Local x, handle := hb_hrbLoad( "test.obj" )

x := Main()   // from tet.obj

hb_hrbUnload( handle )
Return Nil
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: leggere test,hrb
Posted: Fri Feb 16, 2024 11:15 AM

You can not have two Main()s

Functions names must be different

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: leggere test,hrb
Posted: Fri Feb 16, 2024 07:54 PM
Antonio Linares wrote:You can not have two Main()s

Functions names must be different

Oops Sorry the mistake now i go to try
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: leggere test,hrb
Posted: Fri Feb 16, 2024 08:12 PM
Antonio Linares wrote:You can not have two Main()s

Functions names must be different

With HB_Compile( "", "test.prg", "/n", "/gh" )

If I have also

test.prg,
tslines.prg,
ut_fun.prg
ut_labels.prg
and the lib hbzebra.lib

how I can to creare the file hrb ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1956
Joined: Fri Oct 07, 2005 07:08 PM
Re: leggere test,hrb
Posted: Wed Jan 08, 2025 03:53 PM

Ciao. Silvio ho mandato a te una email.

Grazie

FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/

Continue the discussion