Skip to main content
Known Participant
May 10, 2018
Answered

Which calling convention should be used for samples?

  • May 10, 2018
  • 1 reply
  • 676 views

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

This topic has been closed for replies.
Correct answer Test Screen Name

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.

1 reply

Test Screen NameCorrect answer
Legend
May 11, 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.