FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour DLL for Web Application to produce printouts.
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
DLL for Web Application to produce printouts.
Posted: Tue Feb 11, 2020 05:38 PM

I have no idea but can I make a dll with Harbour (BCC) and Fivewin where I use the fivewin code to produce reports for a web based system. My web programmer seems to think her can use the DLL if I can make one for him.

Also not sure how to make the DLL. In the commercial version of xHarbour there was an option to output to a dll, not sure what to do in the BCC version of Harbour.

Thanks,

Byron ...

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: DLL for Web Application to produce printouts.
Posted: Tue Feb 11, 2020 07:14 PM
Byron,

Easier than that, you can use mod_harbour and create your reports and deliver them as PDFs :-)
https://www.modharbour.org/modharbour_samples/invoice.prg (refresh the browser if you get an error)

Source code:
https://github.com/FiveTechSoft/mod_harbour/blob/master/samples/invoice.prg

You may visit:
http://www.modharbour.org
https://www.xbhosts.com
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: DLL for Web Application to produce printouts.
Posted: Tue Feb 11, 2020 07:29 PM

Antonio,

Thanks for the reply, yes this is better than what I am doing now which is using Windows and directing to a PDF print driver. But, once I get this working, how do I make it into a DLL callable from a Web app?

Thanks,

Byron ...

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: DLL for Web Application to produce printouts.
Posted: Tue Feb 11, 2020 07:38 PM

This is already a web app :-)

Anyhow, if you need a DLL, you need to check the FWH samples for a self contained DLL example

I am going to find it...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: DLL for Web Application to produce printouts.
Posted: Tue Feb 11, 2020 08:04 PM

Is there a way to use this class with standard Fivewin and Harbour, do I need some lib, or is the class all self contained, I notices the HPDF_New() in the new method.

Byron ...

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: DLL for Web Application to produce printouts.
Posted: Tue Feb 11, 2020 08:23 PM

Dear Byron,

Current FWH 19.12 provides HaruPDF built in support to create all kind of PDFs without the need of externals tools :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: DLL for Web Application to produce printouts.
Posted: Tue Feb 11, 2020 10:21 PM

Thank you, I just purchased an FTDN renewal because my version of FiveWin was 15.10. Don't know where how to download the new product.
I like this Mod_Harbour but we currently have our site on IIS (7.0), will Mod_Harbour work on or with IIS, or does it only work on Apache?
As always thanks for you help, I am looking forward to seeing the new FiveWin and all the other toys in the network.

Byron ...

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: DLL for Web Application to produce printouts.
Posted: Wed Feb 12, 2020 06:42 AM
Dear Byron,

many thanks

There is also a mod_harbour version for IIS :-)

https://github.com/FiveTechSoft/mod_harbour/tree/master/IIS
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion