Home Forums ActiveX components Xceed Encryption for ActiveX In Delphi 6, I import the Xceed component and when I compile any of the samples the “Cannot assign to a read-only property” error appears.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #43023 |

    This is usually caused by the wrappers created by Delphi. Sometimes, when Delphi creates the wrapper, the “write SetIDispatchProp” is not included.

    For example, you may have the following code:

    property EncryptionMethod: IDispatch index 300 read GetIDispatchProp;

    You need to add “write SetIDispatchProp” at the end of the line:

    property EncryptionMethod: IDispatch index 300 read GetIDispatchProp write SetIDispatchProp;

    If this does not help, please send a message to support@xceedsoft.com, and explain the error you are getting and include your TLB file.

    Imported from legacy forums. Posted by Xceed admin (had 1914 views)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.