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

199

Likes

translate

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

Most Valuable Participant , 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.

Likes

translate

Translate

Translate
Most Valuable Participant ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

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.

Likes

translate

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