hello sir,
here is the problem we have:
we are integrating the DLLs and OCXs associated to your product from an inno setup file: here are the parameters used for GDpicturepro, in compliance with the instructions given to us by Loic a while back:
Source: "[location]\AxInterop.GdPicturePro5.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "[location]\Interop.GdPicturePro5.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "[location]\gdpicturepro5.ocx"; DestDir: "{sys}"; Flags: regserver replacesameversion uninsneveruninstall
Source: "[location]\gdimgplug.dll"; DestDir: "{sys}"; Flags: uninsneveruninstall replacesameversion
Source: "[location]\gdpdfplug.dll"; DestDir: "{sys}"; Flags: uninsneveruninstall replacesameversion
Source: "[location]\MSVBVM60.DLL"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
I checked that both folders ({app} et {sys = system32}), have got all required dll and ocx.
yet, when our application is installed on a computer that has never "seen" gdpicturepro, here is the exception that is sent at the beginning of the launch and prevents the rest of the launch from taking place:
An unhandled exception occured in [myapp].
Exception Message: An error occurred creating the form. See Exception.InnerException for details. The error is: Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown.
Inner Exception Message: Method 'SetLicenseNumber' cannot be invoked at this time.
since there are no other components using a method called "SetLicenseNumber", the problem has to come from gdpicturepro.
Could you please tell me what i should do to solve the problem quickly?
Thank you very much.
Kindest regards,
