#1 Re: PDF Engine » Can you use PDF Engine with Borland Database? » 2011-08-15 19:17:33

I added SynPDF to my project. I used code I found on the forum that you wrote as a sample to someone who also wanted to export a Quick Report to PDF and was able to compile and run the project (I ran it under debug mode and stepped through the code). When it got to the point that it called the paragraph that prepares the quick report and then sends it to the PDF something odd happened. Suddenly the project closed and a new one opened and a new unit was created. There was no code in the unit but it was titled the name of the PDF file I was trying to create.

When I tried running the application outside of Delphi it seemed to just hang up.

#2 PDF Engine » Can you use PDF Engine with Borland Database? » 2011-08-13 22:51:03

julieo00
Replies: 3

I have an existing application written in D5 and using Quick Report that was written years ago. Since my company is going out of business and I am retiring soon I do not really want to have to change everything over to a new data architecture but my only remaining customer still uses this program and wants me to change it to create PDF invoices instead of printing Quick Report ones.

I downloaded the PDF Engine but not sure how to install it. I tried adding it in as a component but it comes back with an error saying Types.dcu not found. When I tried just adding all the .pas files into the program and compiling it I get an error in SynCommons that says SynVariantTypes not defined when it tries to free them in the final closing paragraph.

What am I doing wrong here?
Thanks

Board footer

Powered by FluxBB