DLL for Web Application to produce printouts.

DLL for Web Application to produce printouts.

Postby byron.hopp » Tue Feb 11, 2020 5: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
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: DLL for Web Application to produce printouts.

Postby Antonio Linares » Tue Feb 11, 2020 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: DLL for Web Application to produce printouts.

Postby byron.hopp » Tue Feb 11, 2020 7: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
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: DLL for Web Application to produce printouts.

Postby Antonio Linares » Tue Feb 11, 2020 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: DLL for Web Application to produce printouts.

Postby byron.hopp » Tue Feb 11, 2020 8: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
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: DLL for Web Application to produce printouts.

Postby Antonio Linares » Tue Feb 11, 2020 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: DLL for Web Application to produce printouts.

Postby byron.hopp » 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
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: DLL for Web Application to produce printouts.

Postby Antonio Linares » Wed Feb 12, 2020 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 87 guests