Authenticity Posted May 4, 2009 Posted May 4, 2009 (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 May 4, 2009 by Authenticity
Authenticity Posted May 4, 2009 Posted May 4, 2009 (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 May 4, 2009 by Authenticity
hendrikhe Posted May 5, 2009 Author Posted May 5, 2009 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
VAG Posted September 1, 2009 Posted September 1, 2009 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now