octrools DLL location?

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

nlopes
User
Posts: 33
Joined: Tue Aug 24, 2010 3:44 am

octrools DLL location?

Post by nlopes »

I am trying to use the new OCR functionality and obtained the Live version of the ocrtools.dll. If I place this DLL in the same folder as my application and I try to do the OCR_INT, I get an error telling me the DLL cannot be found. It seems that I need to place it in the Windows\System32 folder. This is unlike other DLLs in the toolkit where they work off the same app root folder. Is this the case or am I doing something incorrectly? Also for the KEY do I use the PDF 5 Tools SDK license key or the PDF-XChange Viewer PRO SDK key? It seems to be working ok witht he PDF 5 key.

Thank you,

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

Re: octrools DLL location?

Post by Walter-Tracker Supp »

nlopes wrote:I am trying to use the new OCR functionality and obtained the Live version of the ocrtools.dll. If I place this DLL in the same folder as my application and I try to do the OCR_INT, I get an error telling me the DLL cannot be found. It seems that I need to place it in the Windows\System32 folder. This is unlike other DLLs in the toolkit where they work off the same app root folder. Is this the case or am I doing something incorrectly? Also for the KEY do I use the PDF 5 Tools SDK license key or the PDF-XChange Viewer PRO SDK key? It seems to be working ok witht he PDF 5 key.

Thank you,

Nelson
The OCR DLL is not a registerable DLL and does not need to be in the System32 directory; it is loaded at runtime from the same directory as the executable like our other non-ActiveX DLLs. Are you saying you've tested it and it only works when you place it in Windows/System32?

What language are you using, and are you attempting to use one of the examples?

-Walter
nlopes
User
Posts: 33
Joined: Tue Aug 24, 2010 3:44 am

Re: octrools DLL location?

Post by nlopes »

Yes, it's not working from the applications folder and I could only get it to work when I placed it into the System32 folder. I'm updating an older application written in VB6 and this particular application is an ActiveX EXE file. I'll try it again and let you know if it works. Perhaps it will at run-time, just not working during design-time for me.

Thank you again for your time.

Nelson

[UPDATE] - Just tried it again and it's working. I apologize. Not sure what was going on before. :oops:
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19942
Joined: Mon Jan 12, 2009 8:07 am

Re: octrools DLL location?

Post by Stefan - PDF-XChange »

Great to hear all is up and running Nelson!

Cheers,
Stefan