Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - wrong license key?
  FAQ FAQ  Forum Search   Register Register  Login Login

wrong license key?

 Post Reply Post Reply
Author
Message
sko View Drop Down
Team Player
Team Player


Joined: 13 Feb 19
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote sko Quote  Post ReplyReply Direct Link To This Post Topic: wrong license key?
    Posted: 10 Dec 19 at 1:56PM
Hi,

we have updated from version 1312 to 1711.
We ordered the update and installed it.
We got a license key.
We set name and license key in foxit_quick_pdf_library_1711_en.exe

The example:

procedure TForm1.Button1Click(Sender: TObject);
var
  PDFLibrary: TDebenuPDFLibrary1711;
  UnlockResult: Integer;
begin
  PDFLibrary := TDebenuPDFLibrary1711.Create;
  try
    UnlockResult := PDFLibrary.UnlockKey(Edit1.Text);
    Label1.Caption := PDFLibrary.LicenseInfo;
    if UnlockResult = 1 then
    begin
      PDFLibrary.DrawText(100, 500, 'Hello from Delphi');
      PDFLibrary.SaveToFile('C:\Temp\HelloFromDelphi.pdf');
    end
    else
    begin
      ShowMessage('Invalid license key');
    end;
  finally
    PDFLibrary.Free;
  end;
end;

always shows "invalid license key"

Is it not possible to update from 1312 to 1711 or what is wrong?

Help please!

Stefan
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 10 Dec 19 at 11:00PM
Hi Stefan,

directly after UnlockKey you should use LastErrorCode:
https://www.debenu.com/docs/pdf_library_reference/LastErrorCode.php
You've bought the update and got additionally a license key...
Is it a test key or the key for the full version?
Did you try the license key from your old 13.12-version, too?


Cheers,
Ingo

Back to Top
sko View Drop Down
Team Player
Team Player


Joined: 13 Feb 19
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote sko Quote  Post ReplyReply Direct Link To This Post Posted: 11 Dec 19 at 5:41AM
I am so sorry!

I changed key for Android with key for Windows LOL

All works fine now!

Ciao
Stefan
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store