I have the interface to the PDF Converter working correctly in our product but tried to add the encryption functionality today and it failed.
I have 2.1 Professional.
I call...
SetLicenseKeyA( 'our company name', 'our activation code')
and this function returns a 1 or TRUE.
I next call...
EncryptPDFDocument('full_path_and_filename, 'apassword', 'apassword', -64 + 4 + 16)
but this returns a 0.
Both passwords are the same at this point.
full_path_and_filename are correct.
An ideas?
Thanks,
Dave
EncryptPDFDocument not working
Hello Dave,
I tried the EncryptPDFDocument function. It is working, but for one reason or another it is setting the demo passwords. There must be something wrong in the sample application I am using.
You can encrypt the pdf files using Encrypt property of the Active X interface of CDIntf. I tried this and it is working.
I will check further more about the EncryptPDFDocument function.
Hope this helps.
I tried the EncryptPDFDocument function. It is working, but for one reason or another it is setting the demo passwords. There must be something wrong in the sample application I am using.
You can encrypt the pdf files using Encrypt property of the Active X interface of CDIntf. I tried this and it is working.
I will check further more about the EncryptPDFDocument function.
Hope this helps.