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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, November 23, 2009 11:16:58 PM(UTC)

yonjh  
yonjh

Groups: Registered
Posts: 17


I copy folder from "C:\Program Files\LEAD Technologies\LEADTOOLS 16.5\Bin\Common\OcrPlusRuntime" to "D:\\OPR"

L_Doc2StartUp(&m_hDoc, NULL, FALSE) retuns 1.

But L_Doc2StartUp(&m_hDoc, "D:\\OPR", FALSE) retuns -1349.

I can not find the error code(-1349) on help file.

my file version:

Ltkrnu.dll 16.5.5.1

Ltdoc2u.dll 16.5.5.1

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, November 24, 2009 6:19:58 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

From the file lterr.h, the error -1349 means "OCR Professional engine initialization error, or there is no appropriate license".

You are getting this error message because you are pointing to the OCR Plus engine and using L_Doc2StartUp which is used with the OCR Pro engine.

With the OCR Plus engine, you will need to use L_DocStartUp. Or you copy the contents of the OCRProfessionalRuntime folder, if you have the OCR Professional engine, to D:\\OPR.
 
#3 Posted : Tuesday, November 24, 2009 2:25:31 PM(UTC)

yonjh  
yonjh

Groups: Registered
Posts: 17


Thanks for your reply.

I have one more question.

The contents of the OCRProfessionalRuntime is too big size(226MB).

Must I redistibute all the contents of the OCRProfessionalRuntime?

 
#4 Posted : Wednesday, November 25, 2009 5:12:09 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Yes, you will have to copy all the files in that folder. For more information, please see the help topic "Files to be Included with Your Application" in the OCR help file.
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.045 seconds.