wpViewPDF v3 License problem

  • Hello,

    I'm using wpViewPDF v3 from 17.05.2011 with Delphi 5.

    The following code will not work.
    DLLName := 'wPDFViewPlus03.dll';
    WPPDFViewerStart(coWPViewLicenseName, coWPViewLicenseKey, cpWPViewLicenseCode);

    Contants are declare like this:
    const
    coWPViewLicenseName: AnsiString = 'ABC';
    coWPViewLicenseKey: AnsiString = 'AAAA-BBBB-CCCC-DDDD';
    cpWPViewLicenseCode = 1234567;

    I receive the error "WPViewPDF Licensecode are wrong or missing".

    Luc.