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 - OpenEdge Progress
  FAQ FAQ  Forum Search   Register Register  Login Login

OpenEdge Progress

 Post Reply Post Reply
Author
Message
thrash View Drop Down
Beginner
Beginner


Joined: 03 Feb 12
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote thrash Quote  Post ReplyReply Direct Link To This Post Topic: OpenEdge Progress
    Posted: 03 Feb 12 at 2:22PM

Hi, 

is it possible to use this great library in OpenEdge (vers. 10.2A) as EXTERNAL library?

I am trying to call functions from library but no chance.

&SCOP DLL 'QUICKPDFDLL.DLL'

PROCEDURE QuickPDFUnlockKey EXTERNAL {&DLL} :  
   DEF INPUT PARAM LicenceKey AS CHAR. 
   DEF RETURN PARAM iRetValue AS LONG.
END PROCEDURE.

DEF VAR i AS INT NO-UNDO.

RUN QuickPDFUnlockKey (INPUT <licence key>, OUTPUT i).
 

Any ideas? please.

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: 08 Feb 12 at 12:58AM
I assume you are using QPL 8.13 or 8.14.

Can you try the following

&SCOP DLL 'QUICKPDFDLL.DLL'

PROCEDURE QuickPDFUnlockKey EXTERNAL {&DLL} :  
   DEF INPUT PARAM LicenceKey AS CHAR. 
   DEF RETURN PARAM iRetValue AS LONG.
END PROCEDURE.

DEF VAR i AS INT NO-UNDO.

RUN QuickPDFUnlockKeyA (INPUT <licence key>, OUTPUT i).    // An A at the end of the file name.


QPL 8.xx versions use Unicode/ UTF-16 based strings for most functions.  Some development tools such as FoxPro don't have native support for Unicode strings.  Every QPL function that has a Unicode string as input or output now has a matching A function that accepts and returns 8 bit strings.

UnlockKey ->  UnlockKeyA
LoadFromFile -> LoadFromFileA
...


Back to Top
thrash View Drop Down
Beginner
Beginner


Joined: 03 Feb 12
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote thrash Quote  Post ReplyReply Direct Link To This Post Posted: 08 Feb 12 at 6:50AM

Thank you.

I trying to use QPL8.12 and older version 7.21.

I still cannot open the library. Do you know the OE Progress? 

I tried to open my own DLL library but same results: "Could not find the entrypoint <functionname>".

What do I wrong?



 


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