I wrote a basic app using Tessnet2 and now trying to move it to a WebForms website.
Copied the logic etc. but when I run it I get an error message(Exception: DllNotFoundException)
"An exception of type System.DllNotFoundException" occured in Tesseract.dll but was not handled in user code.
Additional information: Failed to find library "liblept172.dll" for platform x86."
As said above, this code works as a C# console and after applying necessary logic to move it to the website I thought I moved everything correctly but keep getting this error. Any thoughts where to look?
EDIT2:
Digged it out a bit deeper and the part that fails is actually ILibraryLoaderLogic
IntPtr LoadLibrary(string fileName);
Even if the file is actually there? (there appears to be platform difference in what
SystemManager.GetPlatformName();
returns as the console runs under x64 but website under x86)