Mod_Harbour

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Mod_Harbour

Postby byron.hopp » Thu Mar 05, 2020 7:41 pm

All,

I am new to Mod_Harbour, but loving it. I don't exactly understand how it works. I have been taking several of my functions I use in FiveWin (where I build a lib) and placing them in the source file to utilize. Is there any speed issue in doing this? Is there a way to add a lib to the IIS server like we added Mod_Harbour? I could build an include file which has all of my functions via source code, but I am afraid that my cause speed issues. Can I make some functions Static to the entiry web project, or best to include the code in each prg file?

btw, right now speed is not an issue, it seems to work great.
I am just trying to determine what are the best practices...

Thanks,
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Mod_Harbour

Postby Antonio Linares » Fri Mar 06, 2020 6:55 am

Dear Byron,

You can include your libs into mod_harbour easily:

Simply edit modharbour.hbp and add your libs:
https://github.com/FiveTechSoft/mod_harbour/blob/master/windows/modharbour.hbp

Add -lmylibname inside it

don't specify .lib

To build it, simply do: go64.bat

It is real simple and very powerful :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Mod_Harbour

Postby byron.hopp » Fri Mar 06, 2020 8:27 pm

Very cool, do I need to be recompiling with the Microsoft C Compiler or can I use the Borland? Seems like the batch file references to areas that I don't have.

Byron ...
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Mod_Harbour

Postby Antonio Linares » Mon Mar 09, 2020 6:40 am

Byron,

Please install Microsoft Visual Studio Community (free):

https://visualstudio.microsoft.com/

Please review how mod_harbour uses it so just use it the same way to rebuild your libs :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 10 guests