1-949-236-6510    

HOWTO: Load GlyphReaderEngine by Reflection

Table of Contents

Background

Our GlyphReader engine needs to be loaded by Reflection if being used in a Web App / Web Service / WCF service.

You need to prep for this by creating an OcrResources folder in your application /bin/ folder and placing the GlyphReader OCR resources in it. You will also need to go in to your project references and set the Atalasoft.dotImage.Ocr.GlyphReader.dll Copy Local property to false. Copy the Atalasoft.dotImage.Ocr.GlyphReader.dll in to the OcrResources folder as well. That will keep the web project from trying to load it when the application starts.

Use this simple method to handle the loading (make sure you set your paths)

Back to Top

Example Code

Back to Top

Original Article

Last Update

2025-06-13 - TD

Prev: HOWTO: License an EXE for Deployment (.NET Framework) | Next: HOWTO: Run 32-bit DotImage Assemblies in an ASP.NET Application on a 64-bit Machine

Return to KB