Hi,
I am trying to use external DLL into Unity. I have try the following code. The DLL are .NET 3.5 framework.
The code is built correctly but when it tries to access to the first function the error is EntryPointNotFoundException:LoadLibraryA
using Patagames.Ocr;
public class OCR: MonoBehaviour {
void Start () {
OcrApi.PathToEngine = Application.dataPath+“tesseract.dll”;
OcrApi api = OcrApi.Create ();
string[ ] languages = api.AvailableLanguages;
Debug.Log(languages);
}
COULD ANYONE GIVE ME SOME ADVICES PLEASE? THANK YOU!