I have the following code and am working in Visual Studio 2013:

            ComponentSynchronizer Synchronizer = new ComponentSynchronizer();
            Synchronizer.DocumentViewer =                   (FineReaderVisualComponents.DocumentViewer)axDocumentViewer2.GetOcx();
            IEngineLoader loader = new FREngine.OutprocLoader();
            IEngine engine = loader.GetEngineObject("xxx");
            engine.ParentWindow = this.Handle.ToInt32();
            engine.ApplicationTitle = this.Text;

            document = engine.CreateFRDocumentFromImage(@"mypdf.pdf", null);

            Synchronizer.Document = document;
            //axDocumentViewer2.FRDocument = document;

But both Synchronizer.Document = document; and axDocumentViewer2.FRDocument = document; cause a COMException in the dll AxInterop.FineReaderVisualComponents.

The details state "Access violation - no RTTI data!".

Best Regards

asked 09 May '16, 10:29

dns's gravatar image


edited 09 May '16, 10:36

Please sorry for the delay with response.

It is impossible to use Visual Components together with the OutprocLoader object, as the components need to work with the Engine internal objects and in case of the OutprocLoader usage they will be in the separate processes. Please see the Developer's Help file > Guided Tour > Programming Aspects > Different Ways to Load the Engine Object for details.


answered 12 May '16, 12:21

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: 09 May '16, 10:29

Seen: 2,364 times

Last updated: 12 May '16, 12:21

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