I have PDF Document Converter 2.10i developer version.
I'm using Visual Foxpro 8.
I'm trying to protect a pdf file using EncryptPdfDocument.
This is the declaration:
Declare Integer EncryptPDFDocument In CdIntf.dll AS EncryptPdfDocument String szInputFile, String szOwnerPassword, String szUserPassword, Integer Permissions
I set the license key with
SetLicenseKeyA('...', '...')
It returns 1
Then I call the api function as follow
EncryptPdfDocument("c:\temp\test.pdf", '123456', '654321', -64)
It returns 0
The file isn't protect at all but GetLastErrorMsg() returns "The operation completed successfully."
Any idea?
Thanks
EncryptPDFDocument doesn't work
Hello,
Is you license key for the Professional version of the driver?
If you are not sure please don't post you license key here, send it by e-mail to support@amyuni.com and we will check it.
Thanks.
Is you license key for the Professional version of the driver?
If you are not sure please don't post you license key here, send it by e-mail to support@amyuni.com and we will check it.
Thanks.