Dear Sir/Madam,

In our application we were using DLL Import code to create FREngine object. Now we are using "OutprocLoader" and "GetEngineObject" method to create FREngine object. After this code change we get error in our clients application, but it works fine on developer computers.

After the error we received (in below image file), alt text

we send the abby sdk dll files to client computer and now we receive error that is shown in this image file.

alt text

We think that some dll files are absent on client computer. What we need to transfer to the client computer to solve this problem?

Thanx in advance.

Code is below: DLL Import:


 [DllImport(@"FREngine.dll", CharSet = CharSet.Unicode), PreserveSig]
        private extern static uint GetEngineObject(
            String devSN,
            String reserved1,
            String reserved2,
            ref FREngine.IEngine engine);

        [DllImport(@"FREngine.dll", CharSet = CharSet.Unicode), PreserveSig]
        private extern static int DeinitializeEngine();

         uint hresult = GetEngineObject(_engineDeveloperKey, null, null, ref _frEngine);

C# Code

  private static volatile IEngineLoader engineLoader = new FREngine.OutprocLoader();

  _frEngine = engineLoader.GetEngineObject(_engineDeveloperKey, null, null);

asked 13 Dec '16, 16:58

hakanaktan's gravatar image

hakanaktan
2717


Hi,

To solve the first initial issue please look on this article: http://knowledgebase.ocrsdk.com/article/1562. It describes several reasons for the “Class not registered” error.

As for the second issue, it occurs because you are trying to run a non-developer, i.e. Runtime, license in developer library. Please see the details in our Knowledgebase article: http://knowledgebase.ocrsdk.com/article/650

link

answered 15 Dec '16, 17:15

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦
1.5k16

Thank you so much. We solved the problem by second knowledge base link that you write.

http://knowledgebase.ocrsdk.com/article/650

link

answered 15 Dec '16, 17:49

hakanaktan's gravatar image

hakanaktan
2717

Your answer
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:

×23
×4

Asked: 13 Dec '16, 16:58

Seen: 254 times

Last updated: 15 Dec '16, 17:49

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