pgrazek Posted March 23, 2009 Share Posted March 23, 2009 Hi.. im trying to use the www.screenocr.com DLL into my autoit script. But im having a really hard time The function im trying to use is: TextractExport TextractSuccess Textract(TextractSource&, TextractDest&, TextractDestFormat); But w/e combinations I try... It just wont work. I need to create struct for the arguments or what? I attached one example on C#, if any C# guru can translate this to AutoIt this must be an easy job. Thanks.OCRSDK.txt Link to comment Share on other sites More sharing options...
bo8ster Posted March 23, 2009 Share Posted March 23, 2009 Yes, DllStructCreate is the way to go, the help file has a good example. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
pgrazek Posted March 25, 2009 Author Share Posted March 25, 2009 Hi.. I managed to get this working. Its calling the DLL and then it tells me that the "result" of the OCR is on a given address memory. e.g. 0x02167AD8 How do I get the actual value of this pointer? (dereference) I must use NomadMemory passing the AutoIT process as argument? Link to comment Share on other sites More sharing options...
pgrazek Posted March 25, 2009 Author Share Posted March 25, 2009 Im trying to use NomadMemory(http://www.autoitscript.com/forum/index.php?showtopic=28351) functions to read AutoIT process memory. But still no success... anyone has a better idea? plz Link to comment Share on other sites More sharing options...
imphat Posted March 25, 2009 Share Posted March 25, 2009 Hi..I managed to get this working. Its calling the DLL and then it tells me that the "result" of the OCR is on a given address memory.e.g. 0x02167AD8How do I get the actual value of this pointer? (dereference)I must use NomadMemory passing the AutoIT process as argument?I'm looking for something similar.. is there any way for autoIT to direct access its own memory? Link to comment Share on other sites More sharing options...
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