Make Dll File
Moderator: Rathinagiri
Make Dll File
Hi my friends,
Exist some way to make a DLL file of one HMG project?
I want creat a modular system and i think about this option. It is possible?
TIA,
with best regards,
Exist some way to make a DLL file of one HMG project?
I want creat a modular system and i think about this option. It is possible?
TIA,
with best regards,
Re: Make Dll File
Yes, with QAC ( www.carozodequilmes.com.ar )Vanguarda wrote:Hi my friends,
Exist some way to make a DLL file of one HMG project?
I want creat a modular system and i think about this option. It is possible?
TIA,
with best regards,
Saludos, Fernando Chirico
Saludos, Fernando Chirico.
Re: Make Dll File
Thanks brother Fernando Chirico for this info.
I´ll try it.
With best regards,
I´ll try it.
With best regards,
Re: Make Dll File
Hi Friend,fchirico wrote: Yes, with QAC ( http://www.carozodequilmes.com.ar )
This software is very amazing, i like very much.
I try create my DLL file of the one PRG file, but it dont work with me.
I see that i can create a Libfile.a (i did it in here for tests, now) with him, but i want (need) create a dll file.
You know how i can make it with this software, or this not create a DLL of one PRG file?!
Thank for your attention and help.
with best regards,
Re: Make Dll File
Te explico:Vanguarda wrote:Hi Friend,fchirico wrote: Yes, with QAC ( http://www.carozodequilmes.com.ar )
This software is very amazing, i like very much.
I try create my DLL file of the one PRG file, but it dont work with me.
I see that i can create a Libfile.a (i did it in here for tests, now) with him, but i want (need) create a dll file.
You know how i can make it with this software, or this not create a DLL of one PRG file?!
Thank for your attention and help.
with best regards,
* Settings\Project Options\Interface Library for DLL
y puedes obtener ayuda en el HELP ( ver File Adjunto )
Saludos, Fernando Chirico.
- Attachments
-
- help_dll.JPG (222.74 KiB) Viewed 5460 times
Saludos, Fernando Chirico.
Re: Make Dll File
Perdón, luego de enviar el Post me dí cuenta que esto NO crea una DLL sino un puente para usar DLLs externas.fchirico wrote:Te explico:Vanguarda wrote:Hi Friend,fchirico wrote: Yes, with QAC ( http://www.carozodequilmes.com.ar )
This software is very amazing, i like very much.
I try create my DLL file of the one PRG file, but it dont work with me.
I see that i can create a Libfile.a (i did it in here for tests, now) with him, but i want (need) create a dll file.
You know how i can make it with this software, or this not create a DLL of one PRG file?!
Thank for your attention and help.
with best regards,
* Settings\Project Options\Interface Library for DLL
y puedes obtener ayuda en el HELP ( ver File Adjunto )
Saludos, Fernando Chirico.
Perdón...
Saludos, Fernando Chirico.
Saludos, Fernando Chirico.
Re: Make Dll File
No problem,fchirico wrote:
Perdón, luego de enviar el Post me dí cuenta que esto NO crea una DLL sino un puente para usar DLLs externas.
Thank´s, once again, for your attention and help.
with best regards,
-
ClaudioGalera
- Posts: 47
- Joined: Tue Jul 14, 2009 1:14 pm
- Location: Mar del Plata, Argentina
Re: Make Dll File
Hola Vanguarda
Creo que la solucion seria el uso de los archivos .hrb ( "Harbour Portable Object o Harbour Runtime Binary (.hrb)" ) . Son archivos prg compilados con el harbour y se comportaria de forma similar a las dll, pudiendo ejecutar funciones y procedimientos que esten en ellas. Por otro lado, estas funciones podran hacer llamadas a rutinas y variables que esten en el ejecutable principal. Particularmente no he tenido la experiencia de usarlas.
En internet vi este ejemplo como compilar
luego con la funcion HRBLOAD(<Filename>) cargas en memoria el archivo hrb y ejecutas la funcion que necesitas
PD : Estoy leyendo en el forum de fivetechsoft que se puede crear dll con pcode y usarlas ( http://forums.fivetechsupport.com/viewt ... dll#p79727 ) pero creo que es algo propio de la libreria fivewin.
Saludos
Claudio
Google Translate
Hello Vanguarda
I think the solution would be to use the archives. HRB (Harbor or Harbor Portable Runtime Object Binary (. HRB) "). Prg files are compiled with the harbor and would behave similarly to the dll, and can execute functions and procedures that are in them. Moreover, these functions can make calls to routines and variables that are in the main executable. Particularly, I have not had the experience of using them.
I saw this on the internet how to compile example
then the function HRBLOAD(<Filename>) file loads into memory HRB and execute the function that you need
PS: I am reading in the forum fivetechsoft dll that can be created and used with pcode ( http://forums.fivetechsupport.com/viewt ... dll#p79727 ) but I think it is something inherent in the library FiveWin.
Greetings
Claudio
Creo que la solucion seria el uso de los archivos .hrb ( "Harbour Portable Object o Harbour Runtime Binary (.hrb)" ) . Son archivos prg compilados con el harbour y se comportaria de forma similar a las dll, pudiendo ejecutar funciones y procedimientos que esten en ellas. Por otro lado, estas funciones podran hacer llamadas a rutinas y variables que esten en el ejecutable principal. Particularmente no he tenido la experiencia de usarlas.
En internet vi este ejemplo como compilar
Code: Select all
Compiling and running a Harbour Runtime Binary
J:\Harbour\tests>..\bin\harbour tstcolor.prg /n /i..\include /gh
Harbour Compiler, Build 32 (2000.03.07)
Copyright 1999-2000, http://www.harbour-project.org
Lines 53, Functions/Procedures 1
Generating Harbour Portable Object output to 'tstcolor.hrb'... Done.
PD : Estoy leyendo en el forum de fivetechsoft que se puede crear dll con pcode y usarlas ( http://forums.fivetechsupport.com/viewt ... dll#p79727 ) pero creo que es algo propio de la libreria fivewin.
Saludos
Claudio
Google Translate
Hello Vanguarda
I think the solution would be to use the archives. HRB (Harbor or Harbor Portable Runtime Object Binary (. HRB) "). Prg files are compiled with the harbor and would behave similarly to the dll, and can execute functions and procedures that are in them. Moreover, these functions can make calls to routines and variables that are in the main executable. Particularly, I have not had the experience of using them.
I saw this on the internet how to compile example
Code: Select all
Compiling and running a Harbour Runtime Binary
J:\Harbour\tests>..\bin\harbour tstcolor.prg /n /i..\include /gh
Harbour Compiler, Build 32 (2000.03.07)
Copyright 1999-2000, http://www.harbour-project.org
Lines 53, Functions/Procedures 1
Generating Harbour Portable Object output to 'tstcolor.hrb'... Done.
PS: I am reading in the forum fivetechsoft dll that can be created and used with pcode ( http://forums.fivetechsupport.com/viewt ... dll#p79727 ) but I think it is something inherent in the library FiveWin.
Greetings
Claudio
Re: Make Dll File
Hi friend Claudio,
Very nice this info. i will search on the web about this.
Thank´s for your info and help.
with best regards,
Very nice this info. i will search on the web about this.
Thank´s for your info and help.
with best regards,
Re: Make Dll File
Hi friend ClaudioGalera,
Your sugestion was very useful for me.
Work fine with me in here.
I write a article on my blog about this. ehhh.... (in brazilian portuguese)
http://hmglights.wordpress.com/
Thank´s once again for your attention and help.
regards,
Your sugestion was very useful for me.
Work fine with me in here.
I write a article on my blog about this. ehhh.... (in brazilian portuguese)
http://hmglights.wordpress.com/
Thank´s once again for your attention and help.
regards,