Página 1 de 1
hrb script
Publicado: Mié Ago 23, 2006 6:21 am
por Srdjan
when I use
hHrb := __hrbLoad( MemoRead("C:First.hrb") )
hFunc:= __hrbGetFu( hHrb, "First" )
__hrbDoFu( hFunc )
I see this error log file (attached file). Why ?
Best regards
Srdjan Dragojlovic
Attached files Error.log (1002 B)Â first.hrb (56 B)Â
hrb script
Publicado: Jue Ago 24, 2006 6:57 am
por Srdjan
Why I see this error ?
"Srdjan Dragojlovic" <
digikv@yahoo.com> wrote in message
news:44ebd7cf$[email=
1@news.xailer.com...]
1@news.xailer.com...[/email]
> when I use
>
> hHrb := __hrbLoad( MemoRead("C:First.hrb") )
> hFunc:= __hrbGetFu( hHrb, "First" )
> __hrbDoFu( hFunc )
>
> I see this error log file (attached file). Why ?
>
> Best regards
> Srdjan Dragojlovic
>
>
>
hrb script
Publicado: Jue Ago 24, 2006 6:25 pm
por jfgimenez
Srdjan,
> when I use
>
> hHrb := __hrbLoad( MemoRead("C:First.hrb") )
> hFunc:= __hrbGetFu( hHrb, "First" )
> __hrbDoFu( hFunc )
>
> I see this error log file (attached file). Why ?
How have you compiled the hrb file? We have not ever tested the hrb support
in Xailer. Perhaps there is a problem in the xHarbour version we are using,
or perhaps there is any incompatibility between Xailer and hrb support.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
hrb script
Publicado: Jue Ago 24, 2006 8:58 pm
por Srdjan
i compile with standard options without add options in project
"Jose F. Gimenez" <
jfgimenez@wanadoo.es> wrote in message
news:[email=
44edd309@news.xailer.com...]
44edd309@news.xailer.com...[/email]
> Srdjan,
>
> > when I use
> >
> > hHrb := __hrbLoad( MemoRead("C:First.hrb") )
> > hFunc:= __hrbGetFu( hHrb, "First" )
> > __hrbDoFu( hFunc )
> >
> > I see this error log file (attached file). Why ?
>
> How have you compiled the hrb file? We have not ever tested the hrb
support
> in Xailer. Perhaps there is a problem in the xHarbour version we are
using,
> or perhaps there is any incompatibility between Xailer and hrb support.
>
> --
> Regards,
>
> Jose F. Gimenez
>
http://www.xailer.com
>
>
hrb script
Publicado: Jue Ago 24, 2006 9:12 pm
por jfgimenez
Srdjan,
>i compile with standard options without add options in project
Please, send me a sample project (both .hrb file and the project who runs
it) to test it.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
hrb script
Publicado: Vie Ago 25, 2006 6:07 pm
por Srdjan
This is sample
"Jose F. Gimenez" <
jfgimenez@wanadoo.es> wrote in message
news:[email=
44edf9ff@news.xailer.com...]
44edf9ff@news.xailer.com...[/email]
> Srdjan,
>
> >i compile with standard options without add options in project
>
> Please, send me a sample project (both .hrb file and the project who runs
> it) to test it.
>
> --
> Regards,
>
> Jose F. Gimenez
>
http://www.xailer.com
>
>
Attached files xxx.zip (2.8 KB)Â
hrb script
Publicado: Vie Ago 25, 2006 6:08 pm
por Srdjan
Go to tools menu and run script
"Srdjan Dragojlovic" <
digikv@yahoo.com> wrote in message
news:[email=
44ef2042@news.xailer.com...]
44ef2042@news.xailer.com...[/email]
> This is sample
> "Jose F. Gimenez" <
jfgimenez@wanadoo.es> wrote in message
> news:[email=
44edf9ff@news.xailer.com...]
44edf9ff@news.xailer.com...[/email]
> > Srdjan,
> >
> > >i compile with standard options without add options in project
> >
> > Please, send me a sample project (both .hrb file and the project who
runs
> > it) to test it.
> >
> > --
> > Regards,
> >
> > Jose F. Gimenez
> >
http://www.xailer.com
> >
> >
>
>
>
hrb script
Publicado: Vie Ago 25, 2006 6:28 pm
por jfgimenez
Srdjan,
Thanks. I'll review it ASAP.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
hrb script
Publicado: Lun Ago 28, 2006 8:03 pm
por Srdjan
Any news ?
"Srdjan Dragojlovic" <
digikv@yahoo.com> wrote in message
news:44ed31c1$[email=
1@news.xailer.com...]
1@news.xailer.com...[/email]
> Why I see this error ?
>
> "Srdjan Dragojlovic" <
digikv@yahoo.com> wrote in message
> news:44ebd7cf$[email=
1@news.xailer.com...]
1@news.xailer.com...[/email]
> > when I use
> >
> > hHrb := __hrbLoad( MemoRead("C:First.hrb") )
> > hFunc:= __hrbGetFu( hHrb, "First" )
> > __hrbDoFu( hFunc )
> >
> > I see this error log file (attached file). Why ?
> >
> > Best regards
> > Srdjan Dragojlovic
> >
> >
> >
>
>
hrb script
Publicado: Mar Ago 29, 2006 2:06 pm
por jfgimenez
Srdjan,
> Any news ?
No, sorry. I haven't had any chance to review it; I'm already on vacation.
I'll do ASAP.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
Re: hrb script
Publicado: Dom Nov 20, 2016 1:10 am
por Cassiano de Oliveira
Olá... é possível gerar Scripts HRB atualmente?
Tentei compilar no Xailer com o parametro -gh pra gerar o arquivo HRB pra poder executar em outros módulos mas apresenta uma série de mensagens de erro.
?Como esta isto hoje em dia?
Re: hrb script
Publicado: Vie Nov 25, 2016 11:00 am
por ignacio
Hi,
In order to use HRBs on Xailer 4 just do the following:
Use the contextual menu of the file you want to compile to HRB on the project explorer and select the menu option 'Properties'. Then choose the type to '.hrb'. That's all you need.
To call any function inside the HRB do the following:
Código: Seleccionar todo
LOCAL pHrb
IF !Empty( pHrb := hb_hrbLoad( HB_HRB_BIND_DEFAULT, cFile ) )
hb_hrbDo( pHrb )
hb_hrbUnload( pHrb )
ELSE
MsgAlert( "Error on file loading: " + cFile )
ENDIF
BTW, Tested and working nicely!
Regards,
Note: In case you receive a unresolved external from your HRB module, just include those functions on your main application using the REQUEST command.
Re: hrb script
Publicado: Vie Nov 25, 2016 11:07 am
por Cassiano de Oliveira
Thanks Ignacio, I will test.
[]´s
Re: hrb script
Publicado: Dom Nov 27, 2016 1:28 am
por Cassiano de Oliveira
Peguei um pequeno projeto Hello World que possui um Formulário principal com um evento OnInitialize que mostra uma mensagem MsgAlert('Hello World')
Se compilo para gerar um EXE não tenho problemas.
Compilando com -gh para gerar um script HRB apresenta os mensagens de warning e erros que não entendi.

- Imagens do Projeto Hello World
- Imagem sem título.png (27.98 KiB) Visto 14726 veces

- Mensagens de Warning e Erro gerando com parâmetro -gh
- Mensagens.png (189.59 KiB) Visto 14726 veces
Re: hrb script
Publicado: Dom Nov 27, 2016 6:31 pm
por jfgimenez
Cassiano,
a project, in a whole, cannot be compiled to hrb. Only individual modules can. Every module targeting to hrb produces a single hrb.
You can flag any module to be compiled to hrb, excepting the project's module itself and the main module.
Re: hrb script
Publicado: Lun Nov 28, 2016 6:08 pm
por Cassiano de Oliveira
Ok... thanks.