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

CAcroAVDoc::OpenInWindowEx throws COleDispatchException

New Here ,
Mar 05, 2023 Mar 05, 2023

Copy link to clipboard

Copied

I have a C++ application that at some point display PDF files inside a window. It worked fine for some years now and with several Adobe Acrobat versions.

From some time, I get an error in OpenInWindowEx call. 

I've tested the sample project ActiveViewVC from Acrobat DC SDK package and it fails too.

There is an exception thrown COleDispatchException with no message when calling CAcroAVDoc::OpenInWindowEx.

It look like it's the same behavior like the one described in https://community.adobe.com/t5/acrobat-sdk-discussions/error-the-server-threw-an-exception-exception... but reinstalling is not a solution for me.

I’m testing with Adobe Acrobat Pro 2022.003.20322, 64-bit, on Windows 10. My Application is 32-bit, but ActiveViewVC fails in both 64, or 32 bit builds.

Did anyone have same problem? Any idea where to dig for the cause? Thank you.

TOPICS
Windows

Views

193

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
Community Expert ,
Mar 13, 2023 Mar 13, 2023

Copy link to clipboard

Copied

LATEST

Hi,

 

Seems like unattended updates to libraries or redistributables could've changed something.

 

See if your Windows 10 programs (in addition to Acrobat Pro) require an older version of  C++ redistributables  or .Net Framework libraries.

 

As I am reading some Microsoft support guidelines, I just learned that a newer version of redistributable libraries (or a newer version of a .Net Framework) may not upgrade older versions to be backward compatible.

 

In which case, you must retain both the old and newer versions.

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