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:TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
I'm trying to use the OCR_SetCallback with your Delphi wrapper, but no matter what I set the value of the PXO_CALLBACK_FUNC function to, it always aborts the MakeSearchable call. If I don't set the Call Back function it's just fine.
It appears that the callback function is not respecting the return value I set. The documentation says to set the result to True to continue and False to abort. It appears that it always gets read as False.
I will have to check with the Delphi expert, as this would work as expected in the dll, though I'm not sure what the Delphi wrapper does or how it works, really. I'll chat with him and have him (or myself) get back to you here as soon as possible.
Have there been any reports of what I described in the C code?
No, I've never encountered that situation in our own tests or from developers using it in C++, etc. I can't see anything obviously incorrect in your code (in as much as I can remember pascal syntax), however, so we'll have to get the Delphi wrapper guy to check it out.