Mod_Harbour

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
byron.hopp
Posts: 254
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Mod_Harbour

Post by byron.hopp »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Mod_Harbour

Post by Antonio Linares »

Dear Byron,

You can include your libs into mod_harbour easily:

Simply edit modharbour.hbp and add your libs:
https://github.com/FiveTechSoft/mod_har ... arbour.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
byron.hopp
Posts: 254
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: Mod_Harbour

Post by byron.hopp »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Mod_Harbour

Post by Antonio Linares »

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
Post Reply