Jump to content

Recommended Posts

Posted (edited)

It seems the library is not registered on your machine. Check what is the error code after the ObjCreate call and if there is an error then the library is not registered. Download the included installer from the Tesseract topic and install it. Basically all you need is to register "shimgvw.dll" using RegSvr32 but there may be other necessary files.

Edit: Moi mistake... It's not one of the Tesseract libraries, it's "Windows Picture and Fax Viewer Library"... See if you can get it or remove the code relating it from the source.

Edited by Authenticity
Posted (edited)

It's not necessary, I'd remove the code relating it but anyway, here is the download for the dll if you don't already got it. After you download or find it move it to @SystemDir so your libraries won't be scattered around and type in the command shell or the start dialog: regsvr32 "path to library\shimgvw.dll"

Edited by Authenticity
Posted

I had the file shimgvw.dll in my System32 folder but I removed it with ur file. Anyways after regsvr32 "c:\windows\system32\shimgvw.dll" in cmd (opened as Admin) there was an error: shimgvw.dll is loaded but the DLLRegisterServer entrance could not be founded. Be sure that shimgvw.dll is a valid .DLL file

  • 3 months later...
Posted

I would like to use the _TesseractControlCapture() to only accept Window Handle. How may I modify the code?

My problem is that other parameters like $win_title, $win_text, $win_id are not availlable on my control.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...