Page 1 of 1

DLL for Web Application to produce printouts.

Posted: Tue Feb 11, 2020 5:38 pm
by byron.hopp
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 ...

Re: DLL for Web Application to produce printouts.

Posted: Tue Feb 11, 2020 7:14 pm
by Antonio Linares
Byron,

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

Source code:
https://github.com/FiveTechSoft/mod_har ... nvoice.prg

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

Re: DLL for Web Application to produce printouts.

Posted: Tue Feb 11, 2020 7:29 pm
by byron.hopp
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 ...

Re: DLL for Web Application to produce printouts.

Posted: Tue Feb 11, 2020 7:38 pm
by Antonio Linares
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...

Re: DLL for Web Application to produce printouts.

Posted: Tue Feb 11, 2020 8:04 pm
by byron.hopp
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 ...

Re: DLL for Web Application to produce printouts.

Posted: Tue Feb 11, 2020 8:23 pm
by Antonio Linares
Dear Byron,

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

Re: DLL for Web Application to produce printouts.

Posted: Tue Feb 11, 2020 10:21 pm
by byron.hopp
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 ...

Re: DLL for Web Application to produce printouts.

Posted: Wed Feb 12, 2020 6:42 am
by Antonio Linares
Dear Byron,

many thanks

There is also a mod_harbour version for IIS :-)

https://github.com/FiveTechSoft/mod_har ... master/IIS