• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

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

New Here ,
Sep 16, 2021 Sep 16, 2021

Copy link to clipboard

Copied

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 :

dufour5CB5_0-1631801909374.png

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.

TOPICS
Acrobat SDK and JavaScript

Views

68

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Sep 17, 2021 Sep 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).

Likes

Translate

Translate
LEGEND ,
Sep 16, 2021 Sep 16, 2021

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 17, 2021 Sep 17, 2021

Copy link to clipboard

Copied

We are using the Adobe PDF Library licensed from DataLogics.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 17, 2021 Sep 17, 2021

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines