logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Arantxa  
#1 Posted : Thursday, May 12, 2016 2:29:41 AM(UTC)
Arantxa

Rank: Newbie

Groups: Registered
Joined: 5/12/2016(UTC)
Posts: 1

Thanks: 1 times
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!
Paul Rayman  
#2 Posted : Thursday, May 12, 2016 4:44:50 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
This library can be used on a windows platform only.
thanks 1 user thanked Paul Rayman for this useful post.
Arantxa on 5/12/2016(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.