Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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);