Community

Flexicapture engine crash while loading engine.

 Flexicapture engine loading doesn't work. I am using c#. I have no error message.

The problem occurs while executing this instruction:  int hresult = InitializeEngine(FceConfig.GetDeveloperSN(), out engine);

Here is the load method

private IEngine loadEngine()
        {
            IEngine engine;
            int hresult = InitializeEngine(FceConfig.GetDeveloperSN(), out engine);
            Marshal.ThrowExceptionForHR(hresult);
            return engine;
        }

Thanks

Was this article helpful?

0 out of 0 found this helpful

Comments

4 comments

  • Avatar
    Denis Gusak

    Hi!

    How does the problem that occurs while executing InitializeEngine look like?

    What code does the InitializeEngine() function return?

    Does the Hello code sample work?

    0
  • Avatar
    Salissou

    Hi!

    Reinstalling abbyy without specifying the installation path revolved the problem.

    Thanks

    0
  • Avatar
    jan.fanslau

    Hi,

    I've got the same problem as described above. The InitializeEngine() stops the whole application, without any information.

    public void LoadEngine()
    {
       Log.LogMethodCalled(this);
       if (_engine != null) throw new Exception("Engine alreadly loaded");
       var hResult = InitializeEngine(_serialNumber, out _engine);
       Marshal.ThrowExceptionForHR(hResult);
       Log.LogInfo(hResult, "Engine Initialization Output");
    }

    ...
    [DllImport(FceConfig.DllPath, CharSet = CharSet.Unicode), PreserveSig] private static extern int InitializeEngine(string Sn, out IEngine engine);

    We're currently running on an Amazon EC2-Instance (with appropriate license). On our local machines it works without any issues.

    Do you have any suggestions?

    BR falsanu

    0
  • Avatar
    Denis Gusak

    Hi, Falsanu!

    We need a little bit more information about your issue. Since the investigation of the issue may require the transfer of private information, please contact us via SDK_Support@abbyy.com and send us the following:

    • Your license serial number.
    • FlexyCapture Engine build number.
    • The AInfo report from EC2-Instance (please check this article to know how to create report).
    • *.nfo file with information about your system.

    Thank you!

    0

Please sign in to leave a comment.