Login
 

    HOWTO: How to Load Glyph Reader Resources

    If you are using the GlyphReader OCR Engine, and you get the error "Specified module could not be found." at Startup then place the below code in your project in a static constructor that will be called prior to loading the engine. For example, in your main form's static constructor.  

    ----- C# -----

    static void NameofClass()
    {
    Atalasoft.Ocr.OcrResourceLoader loader = new Atalasoft.Ocr.OcrResourceLoader();
    }

    ----- VB.Net -----

    Private Shared Sub NameofClass()
        Dim loader As New Atalasoft.Ocr.OcrResourceLoader()
    End Sub


    The GlyphReader requires this to load its unmanaged resources if they aren't located in the System32 path.

    To copy the GlyphReader resource files directly, copy them from:

    C:\Program Files\Atalasoft\DotImage 6.0\Bin\OcrResources\GlyphReader\v2.0

    to:

    C:\WINDOWS\system32

     

preload preload preload