leggere test,hrb
Moderator: Enrico Maria Giordano
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: leggere test,hrb
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
You can create them using harbour.exe with the -gh flag
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Re: leggere test,hrb
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 ?
Can you make a test here to compile ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
I use : FiveWin for Harbour November 2023 - January 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
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: leggere test,hrb
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
> 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
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Re: leggere test,hrb
Antonio,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
can load an Obj from a fwh exe file ?
I tried this prg but not run
Code: Select all | Expand
#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 November 2023 - January 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
I use : FiveWin for Harbour November 2023 - January 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
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: leggere test,hrb
You can not have two Main()s
Functions names must be different
Functions names must be different
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Re: leggere test,hrb
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 November 2023 - January 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
I use : FiveWin for Harbour November 2023 - January 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
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Re: leggere test,hrb
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 November 2023 - January 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
I use : FiveWin for Harbour November 2023 - January 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
- goosfancito
- Posts: 1955
- Joined: Fri Oct 07, 2005 7:08 pm
Re: leggere test,hrb
Ciao. Silvio ho mandato a te una email.
Grazie
Grazie