Cannot open protected files. Error Cannot decrypt this file.

  • Hi,
    I'm not able to load protected pdfs in the viewer. I always get 'Cannot decrypt this file' error.
    I've tried LoadPassword property but it does nothing. The event OnNeedPassword is not fired.
    I've tried to provide a password as I've read in a post, like:
    WPViewPDF1->command(COMPDF_ClearPasswords);
    WPViewPDF1->CommandStr(COMPDF_AddPassword, myPassword);
    It doesn´t work.
    I've even tried to load a protected pdf with the demo app provided but it does exactly the same.

    What do I need to do in order to load a password protected pdf in the viewer?

    Thanks in advance

    Edorta

  • Hello,

    Am I the only one who cannot open password protected pdfs?
    Is there something I must do? I have tried LoadPassword and OnNeedPassword but nothing happens.
    Help please,

    Thanks in advance.