Skip to main content
Participant
September 16, 2021
Answered

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

  • September 16, 2021
  • 2 replies
  • 626 views

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 has been closed for replies.
Correct answer Test Screen Name

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

2 replies

Test Screen NameCorrect answer
Legend
September 17, 2021

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

Legend
September 16, 2021

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

Participant
September 17, 2021

We are using the Adobe PDF Library licensed from DataLogics.