Entry Point Error

PDF-X OCR SDK is a New product from us and intended to compliment our existing PDF and Imaging Tools to provide the Developer with an expanding set of professional tools for Optical Character Recognition tasks

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange

jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

Entry Point Error

Post by jeffp »

Walter,

When I try to access a procedure in the ocrtools.dll from the Delphi wrappter running XP SP1, I get the following message:

"The procedure entry point DecodePointer could not be located in the dynamic link library KERNEL32.dll"

On XP SP3 and later OSs, there is no issue.

Sounds like XP SP1 is missing something? Any ideas?

--Jeff
Walter-Tracker Supp
User
Posts: 381
Joined: Mon Jun 13, 2011 5:10 pm

Re: Entry Point Error

Post by Walter-Tracker Supp »

There is some information about this here:

http://www.zachburlingame.com/2011/03/t ... udio-2010/

I'll get back to you with a bit more info in a minute.

-Walter
Walter-Tracker Supp
User
Posts: 381
Joined: Mon Jun 13, 2011 5:10 pm

Re: Entry Point Error

Post by Walter-Tracker Supp »

I thought maybe there was a relatively simple workaround but in consulting with some others here I don't think this is true, unfortunately.

What it boils down to is a compatibility issue between libraries used in XP SP1 and later operating systems. Anything compiled with VS2010 and using the included runtime libraries are incompatible.

The best solution is to tell the users to add the service pack.
jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

Re: Entry Point Error

Post by jeffp »

Yeah. I read the article and it's too much. Can't image too many people are on XP SP1.

We'll just go the upgrade to XP SP3 route. Anyway, now you know in case it comes up again.

By the way, why don't your other PDF DLLs have this issue as well?

--Jeff
Walter-Tracker Supp
User
Posts: 381
Joined: Mon Jun 13, 2011 5:10 pm

Re: Entry Point Error

Post by Walter-Tracker Supp »

jeffp wrote:Yeah. I read the article and it's too much. Can't image too many people are on XP SP1.

We'll just go the upgrade to XP SP3 route. Anyway, now you know in case it comes up again.

By the way, why don't your other PDF DLLs have this issue as well?

--Jeff
We do have a trick that can be used to maintain compatibility with previous versions of windows (Win 2K specifically, but possibly it resolves the issue with Win XP SP1 - we haven't had any complaints from anybody though that may just reflect that nobody is using it). We may try to include this trick for the next ocrtools.dll build. Adding a ticket to our internal system for it.

-Walter
jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

Re: Entry Point Error

Post by jeffp »

Great if you can do it. No problem if you can't.

Would rather you look into that alternative OCR_Save procedure that just produces the text without the image :-)

--Jeff
Walter-Tracker Supp
User
Posts: 381
Joined: Mon Jun 13, 2011 5:10 pm

Re: Entry Point Error

Post by Walter-Tracker Supp »

jeffp wrote:Great if you can do it. No problem if you can't.

Would rather you look into that alternative OCR_Save procedure that just produces the text without the image :-)

--Jeff
It's a good suggestion, and on our todo list.

-Walter