pdfPrint wPDFViewDemo03.dll won't accept file name

  • I am trying to use the demo for pdfPrint and no mater how I send the filename parameter wPDFView always takes the first character of my parameter and appends it to the application path and then fails...

    For example I call this:

    pdfPrint('NFA_Letter.pdf', '', '', '', 0, '');

    And get the error
    'c:\my\app\path\N' not found.

    Thanks for any assistance,
    Tony

  • I thought moving to the live version might solve this so I went ahead and purchased it. Now I have a different problem...

    When I call pdfPrint using these credentials I get an error code -1.

    Here is my code (PDFFile is a string with the file path/name and Options is a string with options):

    Testvar := pdfPrint(PChar(PDFFile), '',
    PChar('Anthony Niemann'), PChar('L***************2'), 1*****0,
    PChar(Options));

    I am using RAD Studio 2009.

    What am I doing wrong?

    Thanks,
    Tony