In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
hrb script
hrb script
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)Â
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
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
>
>
>
"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
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
> 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
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
>
>
"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
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
>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
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)Â
"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
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
> >
> >
>
>
>
"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
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
> >
> >
> >
>
>
"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
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
> 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
-
- Mensajes: 475
- Registrado: Mar Jul 24, 2012 10:21 pm
Re: hrb script
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?
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?
- ignacio
- Site Admin
- Mensajes: 9253
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Re: hrb script
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:
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.
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
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.
-
- Mensajes: 475
- Registrado: Mar Jul 24, 2012 10:21 pm
Re: hrb script
Thanks Ignacio, I will test.
[]´s
[]´s
-
- Mensajes: 475
- Registrado: Mar Jul 24, 2012 10:21 pm
Re: hrb script
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.
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.
Re: hrb script
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.
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.
-
- Mensajes: 475
- Registrado: Mar Jul 24, 2012 10:21 pm
Re: hrb script
Ok... thanks.