On Sun, Sep 14, 2008 at 4:44 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote:
> What do you think of changing all Pdf*() functions to > accept the pdf object - returned by PdfInit() - as their > first parameter? > > This would create an incompatibility, but would at the > same time solve the reentrancy problem the original > implementation had. Even better it would also completely > make the class implementation unnecessary (or maybe even > easy to rework to be a layer rather than a copy). > > All this in 1.1. pdfInit returns aReport only for pdf_demo.prg. In my code I never use aReport. A typical prg for me is: pdfInit() pdfOpen( cPdfFile ) ... pdfNewPage() pdfXyz() ... pdfClose() <open|send|print> cPdfFile best regards, Lorenzo _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour