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