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

Can I call Acrobat JavaScript with C++ program through IAC interface?

Community Beginner ,
Aug 16, 2016 Aug 16, 2016

Dear all,

I have created some Acrobat Javascript program. Now I want to use a C++ progam(developed by VS2012) to call those Acrobat Javascript through IAC interface.

But I found all of those sample program about calling Acrobat Javascript with IAC is written with VB or C#.

Anybody can tell me where can I find the sample program written with C++?

I realized that there is class method "LPDISPATCH CAcroPDDoc::GetJSObject()", but not sure how can I futher call the Acrobat Javascript function after I got the point with GetJSObject().

Thanks.

TOPICS
Acrobat SDK and JavaScript
670
Translate
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 ,
Aug 16, 2016 Aug 16, 2016
LATEST

This was written for VB because it was too hard for C++. Yes, a true C++ COM expert could create the necessary IDispatch stuff but really, unless you are that expert, don't try. Write a VB bridge or whatever.

Translate
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