I have a customer getting this error:
CloseFileEx: FlushPages() and CloseFileEx() cannot be combined. Use OpenOutputFileEncrypted()
I don’t use FlushPages()
The CloseFileEX code hasn’t changed for years, although the plugin versions have.
The code is:
dim flags as integer
dim szThePassword as string = thePassword
if bWantsReadOnly then
flags = BitwiseOr(flags, pdf.krsModify) // forbid modifying
end if
if bNoCopying then
flags = BitwiseOr(flags, pdf.krsCopyObj) // forbid copying content
end if
Call pdf.CloseFileEx("", szThePassword, pdf.kkl128bit, flags)
6 posts - 2 participants