I am now using the early release of IRM SDK v4.6 (Client Integration API) to implement our IRM Client program.
After many rounds of tests, we found that:
For Document Protection and Opening a Protected Document
1. If we call login first, then the flow roughly looks like:
irmCreateSession() -> irmOpenContent() -> irmWriteContent()/ irmReadContent() -> irmStartCapturePrevention() .....
=> when calling irmStartCapturePrevention(), it will crash the program!
2. We call "irmOpenContent()" directly, the login dialog will also be prompt as the IRM session is NULL:
irmOpenContent() -> irmWriteContent()/ irmReadContent() -> irmStartCapturePrevention() .....
=> No error in this case
It is because we never see this problem while we are using the IRM SDK 4.5.1 GA version, so we believe that there is a bug in the function "irmStartCapturePrevention()".
May I know if EMC product team also aware this error and will fix it in the upcoming IRM SDK 4.6 GA version?