Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Portable Protection Library Sample Exception

Avatar

Former Community Member

Hello,

Downloaded the Portable Protection Library, and compiled the PPKSample using VS2008SP1.  When the sample is compiled in "Debug", I am getting a "Unhandled exception at 0x...... (msvcr90d.dll) in PPKSample.exe:... at the line:

PPKPublisherPtr publisher(PPKPublisher::createSession("https://server:portno", callbacks);

Stack trace:

msvcr90d.dll!strlen(...)

msvcr90d.dll!std::char_traits<char>length(...)

msvcr90d.dll!std::basic_string<...>

msvcr90d.dll!std::basic_string<...>

PPK.dll!104039f6()

...

PPKSample.exe!PPKPublisher::createSession() + 0x8f bytes

PPKSample.exe!main() Line 22 + 0x4e bytes

When compiled in "Release", I am able to run through most of the sample.  However I get a First-chance exception at 0x7...... in PPKSample.exe: Microsoft C++ exception:  EDCClientException at memory location 0x00181f818...

==

Any ideas?  clues?

I downloaded the Portable Protection Library from this URL: https://www.adobe.com/cfusion/entitlement/index.cfm?e=lcrm_ppl

Is this the latest version?

Thank you.

TS

1 Reply

Avatar

Former Community Member

Update: 

In "Release" mode, the exception is occuring in the sample.cpp   packager->unProtectDoc(publisher);