Dear Sir / Madam,
want to set pdf password.
tried: -
PdfEncrypt* pEncrypt = PdfEncrypt::CreatePdfEncrypt("user",
"owner");
PdfEncrypt* pEncrypt = PdfEncrypt::CreatePdfEncrypt("", "");
PdfEncrypt* pEncrypt = PdfEncrypt::CreatePdfEncrypt("user",
"owner", 0, PdfEncrypt::ePdfEncryptAlgorithm_RC4V1,
PdfEncrypt::ePdfKeyLength_40);
PdfEncrypt* pEncrypt = PdfEncrypt::CreatePdfEncrypt("user",
"owner", 3900, PdfEncrypt::ePdfEncryptAlgorithm_RC4V1,
PdfEncrypt::ePdfKeyLength_40);
but all has run time error:
Unhandled exception at 0x75D5845D in PDF.exe: Microsoft C++ exception:
std::bad_alloc at memory location 0x002FDE8C.
Please advice.
With regards,
Tang
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users