Symptoms
When trying to run an application that uses FineReader Engine, the following error occurs:
No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))
Cause
This message occurs if Interop.FREngine file from an older version is used, while the newer version of the product is installed. If the application was compiled with one version of the interface but the FREngine.dll library from another version is called, a call to another method could occur causing the error.
Resolution
The issue can be resolved by recompiling the application with the .NET interop assembly Interop.FREngine.dll from the installed version of FineReader Engine. Interop.FREngine.dll is available in multiple versions that correspond to different .NET Framework versions. For instance, if the project uses .NET Framework 4.5, the suitable Interop.FREngine.dll would be found here:
C:\ProgramData\ABBYY\SDK\12\FineReader Engine\Inc\.Net interops\v4.5\Interop.FREngine.dll
All .NET Framework interop assemblies can be found here:
C:\ProgramData\ABBYY\SDK\12\FineReader Engine\Inc\.Net interops
Comments
0 comments
Please sign in to leave a comment.