Version 4.007 don't encrypt document. Adobe Reader with version 303 have question to user password, on version 4 no
I have this program(VFP)
if version=4
oPdfDocument=Createobject("CDIntfEx.Document.4")
pvysl_licence=oPdfDocument.SetLicenseKey( "licence","key4")
Else
oPdfDocument=Createobject("CDIntfEx.Document") && version 3
pvysl_licence=oPdfDocument.SetLicenseKey( "licence","key3")
Endif
oPdfDocument.Open(lDefaultFileName)
oPdfDocument.Encrypt("ownerpass", "userpass", -64+4) && on version 4 no action
oPdfDocument.Creator=oPdfDocument.Creator+'/J.K.R. s.r.o./BYZNYS Win,BYZNYS VR' && OK
oPdfDocument.Save(lDefaultFileName)
Two computer, W7 and W Vista, the same bug
new version?
BUG - encrypt don't work on 4.007
Re: BUG - encrypt don't work on 4.007
I try using Encrypt128 (no Encrypt) function and this work's OK