Hello.
We have an application (.NET wrapper around DynamicPDF Viewer ActiveX) installed on several computers working just fine. But on some environments (Windows XP SP2, .NET 3.5) we have the following error in DynamicPDFViewerControl.ShowTitleBar(...) method.
Error message:
Number of parameters specified does not match the expected number.
Stack : at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at ceTe.DynamicPDF.AxViewer._IPDFViewer.ShowTitleBar(Boolean bShow)
at ceTe.DynamicPDF.AxViewer.Control.DynamicPDFViewerControl.ShowTitleBar(Boolean bShow)....
Assembly version information:
// Assembly ceTe.DynamicPDF.AxViewer.Control, Version 2.0.0.0
ceTe.DynamicPDF.AxViewer.Control, Version=2.0.0.0, Culture=neutral, PublicKeyToken=09b5ce0d5c0a9d8b
// Module ceTe.DynamicPDF.AxViewer.Control.dll
Version: ca17a95e-008c-4e13-84cb-7ecf60c90fa0
Note:
I browsed the Internet and found several posts reported the same problem with other ActiveX controls but no solutions. Any ideas on why could it happen or any possible workarounds?