Community

FREngine LoadLibraryEx does not return dll handle

I'm using ABBYY SDK\11\FineReader Engine\Bin64\FREngine.dll, I'm able to use it with standard .exe windows app, but I'm unable to load the dll in a WindowsService. The error is at this point

        // Load the FREngine.dll library
        dllHandle = LoadLibraryEx(enginePath, IntPtr.Zero, LOAD_WITH_ALTERED_SEARCH_PATH);

No handle is returned, the error inner exception has: _COMPlusExceptionCode -532462766

0

Comments

4 comments

Please sign in to leave a comment.