Skip to main content
Participant
Sep 16, 2021 2:23 PM UTC
Answered

PDDocOpen API throws exception "Invalid pointer read" when calling PDXlateToPDFDocEnc function

Hello,

I am actually working with Acrobat SDK to get all images from a PDF.

I experienced some troubles with the API PDDocOpen, sometimes it throw an exception "Invalid pointer read" when calling PDXlateToPDFDocEnc.

I know this with because, the application calling our dll who implement Acrobat SDK create a dump when the application crash.

In the callstack, we can see :

This is the code part were we call PDDocOpen :

//char* csInputFile
ASPathName path = ASFileSysCreatePathFromDIPath(NULL, csInputFile, NULL); 
PDDoc pdDoc = PDDocOpen(path, NULL, NULL, true);

Do you know if this is a common issue ? And if you have a workaround for this issue ?

Thanks a lot for your time.

This topic is closed to new replies. Start a new post to keep the conversation going.
Test Screen NameCorrect answer
Legend
Sep 17, 2021 9:18 AM UTC

Ok, we don't consider that to be the Acrobat SDK, even though it is 95% the same API. I suggest you use your DataLogics support channels, they are able to fix bugs themselves (without waiting for Adobe).

3 replies

Test Screen NameCorrect answer
Legend
Sep 17, 2021 9:18 AM UTC

Ok, we don't consider that to be the Acrobat SDK, even though it is 95% the same API. I suggest you use your DataLogics support channels, they are able to fix bugs themselves (without waiting for Adobe).

Translate
Legend
Sep 16, 2021 5:35 PM UTC

Are you using the Acrobat SDK with Acrobat, or are you using the Adobe PDF Library licensed from DataLogics?

Translate
Participant
Sep 17, 2021 7:47 AM UTC

We are using the Adobe PDF Library licensed from DataLogics.

Translate