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 - Use DLL in FoxPro
  FAQ FAQ  Forum Search   Register Register  Login Login

Use DLL in FoxPro

 Post Reply Post Reply
Author
Message
Klaus.Hentschel View Drop Down
Beginner
Beginner


Joined: 08 Mar 12
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Klaus.Hentschel Quote  Post ReplyReply Direct Link To This Post Topic: Use DLL in FoxPro
    Posted: 08 Mar 12 at 9:41AM
Hello,
 
i try to use the DLL from QPDF 8.13 in FoxPro. After running the QuickPDFDLL0813.prg to DECLARE all necessary Functions i call the following:
 
lnID = QuickPDFCreateLibrary()
lnReturn = QuickPDFUnlockKey(lnID, "Licence Key")
 
FoxPro stops after the "Unlock" with the Message "Syntax Error". What is going wrong here? I read here in the Forum something regarding UNICODE and FoxPro...
 
With the AX Version i have no problems but i want to use the DLL Version because of no Client Install.
Has anybody an idea what i can do?
 
Thanks in advance
 
Klaus

 

Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 12 Mar 12 at 1:12PM

Can you try using   QuickPDFUnlockKeyA(InID, "Licence key"); 

All the the QPL functions that use a string now have a matching "A" function that accepts a standard 8bit string.

  LoadFromFileA
  RenderPageToStringA 
  ...
  ...

I am pretty sure this was added to the 8.13 Final release.

Andrew.
Back to Top
Klaus.Hentschel View Drop Down
Beginner
Beginner


Joined: 08 Mar 12
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Klaus.Hentschel Quote  Post ReplyReply Direct Link To This Post Posted: 12 Mar 12 at 5:24PM
it seems to work with the Function QuickPDFUnlockKeyA(...
 
thank you Andrew that you point me on this ;-)
 
Klaus
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