Internal program error: /Builds/TFS/FREngine_Unix/FineObjects/Inc/Errors.h, 140 in FineReader Engine 12 for Linux

Symptoms

If you create the IRTFExportParams object and use it in the Export method (Outproc engine loading only), you will encounter the following error:

Internal program error: /Builds/TFS/FREngine_Unix/FineObjects/Inc/Errors.h, 140. com.abbyy.Outproc.FREngine.EngineException: Unknown COM error: 800040

Resolution

Pass "0" as value of that property to the Export method as a workaround or if you need to use settings that are in RTFExportParams, then you can use the LoadProfile method.

For example, add your settings in the profile.ini and load it with the following line of code:

CheckResult( FREngine->LoadProfile(L"/opt/ABBYY/FREngine12/Samples/pdf-export-outproc/Outproc/Hello/profile.ini"));

There is a section in the Developer's Help called Working with profiles that will help you to use the necessary settings.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.