Recursos desde modulo .hrb

Post Reply
Compuin
Posts: 1017
Joined: Tue Dec 28, 2010 1:29 pm

Recursos desde modulo .hrb

Post by Compuin »

Hola foro

Es posible crear un dialogo y otros controles desde recursos y guardar el .prg como un archivo harbour .hrb ?

Si es posible, algun ejemplo?
Compuin
Posts: 1017
Joined: Tue Dec 28, 2010 1:29 pm

Re: Recursos desde modulo .hrb

Post by Compuin »

Es posible ?
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: Recursos desde modulo .hrb

Post by vilian »

Eu acho que não. Mas vc pode guardar o resource no exe.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Compuin
Posts: 1017
Joined: Tue Dec 28, 2010 1:29 pm

Re: Recursos desde modulo .hrb

Post by Compuin »

vilian wrote:Eu acho que não. Mas vc pode guardar o resource no exe.
I need to have the resource out of the .exe, but I still need to modify the .hrb program using this resource

How could I do this ?
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: Recursos desde modulo .hrb

Post by vilian »

I think you could save these resources in a .RES file, and link this .RES with your EXE.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Compuin
Posts: 1017
Joined: Tue Dec 28, 2010 1:29 pm

Re: Recursos desde modulo .hrb

Post by Compuin »

vilian wrote:I think you could save these resources in a .RES file, and link this .RES with your EXE.
The main idea it not to have to link and recompile the .exe
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: Recursos desde modulo .hrb

Post by vilian »

Do you want to read the .rc file and show the dialog ?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Compuin
Posts: 1017
Joined: Tue Dec 28, 2010 1:29 pm

Re: Recursos desde modulo .hrb

Post by Compuin »

vilian wrote:Do you want to read the .rc file and show the dialog ?
Yes
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: Recursos desde modulo .hrb

Post by vilian »

Oh... Any years ago I tried to do this, but without success.
http://forums.fivetechsupport.com/viewt ... ian#p76089
I'm sorry.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Compuin
Posts: 1017
Joined: Tue Dec 28, 2010 1:29 pm

Re: Recursos desde modulo .hrb

Post by Compuin »

vilian wrote:Oh... Any years ago I tried to do this, but without success.
http://forums.fivetechsupport.com/viewt ... ian#p76089
I'm sorry.
Vilan, I read you worked with .hrb files.

How do you deal with dialogs and objects for your system? Do you use just code or you put those in .rc files ?
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: Recursos desde modulo .hrb

Post by vilian »

Those dialogs that are simpler, I write them in the code/prg. Those dialogs complexer I keep them i .RES file.
I don't use RC files.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Compuin
Posts: 1017
Joined: Tue Dec 28, 2010 1:29 pm

Re: Recursos desde modulo .hrb

Post by Compuin »

vilian wrote:Those dialogs that are simpler, I write them in the code/prg. Those dialogs complexer I keep them i .RES file.
I don't use RC files.
All rigth

I guess in this case, you don't need to recompile the .hrb ?
Post Reply