Hi,
I got the following error:
Exception non gérée : System.AccessViolationException: Tentative de lecture ou d'écriture de mémoire protégée. Cela indique souvent qu'une autre mémoire est endommagée.
à FREngine.FRDocumentClass.AddImageFile(String ImageFileName, PrepareImageMode PrepareMode, IIntsCollection PageIndices)
My code is:
ABBYY.Processor processor = new ABBYY.Processor();
processor.loadEngine();
processor.setupFREngine();
foreach(string filePath in filePaths)
{
FRDocument document = engineLoader.Engine.CreateFRDocument();
try {
document.AddImageFile(filePath, null, null);
FREngine.DocumentProcessingParams dpp = engineLoader.Engine.CreateDocumentProcessingParams();
document.Process( dpp );
document.Export(fileOut, FileExportFormatEnum.FEF_TextUnicodeDefaults, null);
}
processor.unloadEngine();
Console.WriteLine("Finished.");
I've read this https://support.abbyy.com/hc/en-us/articles/360001377005 but I don't understand where it fails.
Comments
0 comments
Please sign in to leave a comment.