I'm trying to load FREngine.dll using the samples code for v11. This worked fine for v10.

    Dim enginePath As String = Path.Combine(VBSamplesConfig.GetFreDllFolder(), "FREngine.dll")
    Dim developerSN As String = VBSamplesConfig.GetFreDeveloperSN(sKey <> "")

    ' Changing current directory so the system could locate all dlls needed
    Dim oldDirectory As String = System.Environment.CurrentDirectory
    System.Environment.CurrentDirectory = System.IO.Path.GetDirectoryName(enginePath)

    ' Load the FREngine.dll library
    dllHandle = LoadLibrary(enginePath)

I am getting this error:

alt text

The procedure entry point ?GenerateCheck@FObj@@YAXABVCError@1@PB_W11@Z could not be located in the dynamic link library FineObj.dll

Normally the project is set at Any CPU, but I've also tried with x86 and still get the same error. The project is a WCF Service and it loads the engine through a class library (also set to x86).

If I set the project back to Any CPU and try with either Bin (same error) or Bin64 it doesn't work.

If I create a new forms project and try with the same way it works fine (with both 32 and 64 bit versions).

As mentioned, this is fine for V10, but not for V11

Any ideas what is causing this error?

asked 09 Mar '16, 15:37

s0crates's gravatar image

s0crates
1325

Hi, In order we can investigate this situation please sed to SDK_Support@abbyy.com the following additional information: 1) The serial number of the ABBYY FineReader Engine 11. 1) Please describe in more details how FREngine 11 was installed on the machine. 2) Could you also send us the AInfo report from the machine where the issue occurs. To create the report please do the following: Go to the Engine installation folder, the \Bin\Support subfolder. Run AInfo.exe and wait until all necessary information is gathered. Send us the generated archive. Waiting for your response!

(16 Mar '16, 17:34) Beliakova Sv... ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×59
×39
×9
×2

Asked: 09 Mar '16, 15:37

Seen: 2,625 times

Last updated: 16 Mar '16, 17:34

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal