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

Which calling convention should be used for samples?

Community Beginner ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

The Acrobat SDK documentation mentions that the Pascal calling convention should be used; which I take to mean that the sample project Calling Convention should be set to _sdtcall (/Gz).  However, upon inspecting the Calling Convention properties for the samples, I see __cdecl (/Gd).

TOPICS
Acrobat SDK and JavaScript

Views

425

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 , May 10, 2018 May 10, 2018

Interesting question. I always started with Adobe projects and they just work. You will note it only says this applies to Callbacks. I believe that your use of the appropriate ACCB macros will take care of any necessary issues. At some point these became no-ops but I don't think that should be relied upon.

Votes

Translate

Translate
LEGEND ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

LATEST

Interesting question. I always started with Adobe projects and they just work. You will note it only says this applies to Callbacks. I believe that your use of the appropriate ACCB macros will take care of any necessary issues. At some point these became no-ops but I don't think that should be relied upon.

Votes

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