Leaderboard
Popular Content
Showing content with the highest reputation on 04/29/2020 in all areas
-
I have recently been looking into how to use the DLL functions under process management in order to create an autoit udf which acts as a wrapper around a c library. However, having little experience, I was looking for tools to help me better understand how to make calls to C library functions in a dll and found this really interesting and powerful tool called API Monitor. This tool lets you monitor and control API calls made by applications and services, allows you to see how applications and services work, and allows you to track down problems that you have in your own applications. I was able to use the tool to monitor a portable application which uses the C library I want to create a udf for, and have it display all of the api calls it made to that C library specifically after running a command. Thought maybe it might be useful to others too.2 points
-
@dbs179 I found several issues with the script that were not related to the 64-bit issue. Because I used the script that you posted in order to debug the 64-bit issue, I don't know whether the issues existed in the original script or not and didn't take the time to find out or correct them. The script that I have attached works for me in 64-bit mode. The issue, which was alluded to by KaFu earlier in the topic, is that the 64-bit version has a slightly different implementation of the functions than the original 32-bit version. It includes a required parameter for error correction level. I added the parameter to the necessary function calls and gave them a value of 0. The DLL that I included is the 2.0 version of the 64-bit DLL. In testing, I found out that the 2.0 version of the 32-bit DLL includes the newer implementation with the error correction level parameter also. So it is an easy modification to make the script work in both 32-bit and 64-bit modes without having to change any of the underlying function calls. Enjoy! qr_creator_64.au32 points
-
I did some "sleuthing" based on this limited information and came to the conclusion that the site uses jQuery (specifically jQWidgets). If this is correct, then you could benefit from @Chimp's _jQuerify routine. Your code would look something like this -- Local $jQuery = _jQuerify($oIE) $jQuery('#LANG_CD_jqxComboBox').jqxComboBox('selectItem','English');2 points
-
I've made a library, based on AutoItObject UDF with the goal of implementing getter and setter functionality and make it possible to define new object properties in as few steps as possible. Thank you to @trancexx for getting me on the right track, and all users in Hooking into the IDispatch interface for the code to get me going. If I've forgotten to add credit, please let me know Example: #include "AutoItObject_Internal.au3" $myCar = IDispatch() $myCar.make = 'Ford' $myCar.model = 'Mustang' $myCar.year = 1969 $myCar.__defineGetter('DisplayCar', DisplayCar) Func DisplayCar($oThis) Return 'A Beautiful ' & $oThis.parent.year & ' ' & $oThis.parent.make & ' ' & $oThis.parent.model EndFunc MsgBox(0, "", $myCar.DisplayCar) More examples: https://github.com/genius257/AutoItObject-Internal/tree/master/Examples Version: 4.0.1 AutoItObject_Internal.au3 Documentation Edit2 (19th March 2017): First of all, sorry about the lack of updates on this project. I always start too many projects and end up ignoring old projects, if I run into problems ^^'. So I've started moving my AutoIt scripts to GitHub. I will still post the most recent script version here.1 point
-
Try ShellExecute, that link you posted is a shortcut and not the executable.1 point
-
Draw the line of the bullet with the wind resistance - (Locked) - (Moved)
ShenLong229 reacted to Melba23 for a topic
Moved to the appropriate forum, as the Developer General Discussion forum very clearly states: Moderation Team1 point -
Yes, this also. I want to use it for interaction between process, to pass any type of data over COM object. It's ok, keep up the good work you do, thanks for that.1 point
-
Hi @MrCreatoR. I think you're asking if AutoItObject Internal can be used with ObjGet? This is something that CAN work, but for me it's in the alpha stage. I have unpublished code, where this works somewhat by registering an object with the Running Object Table, but I have yet to solve an issue where the obj ref count gets messed up, due to Release being called more times than the AddRef method for some strange reason. My theory is that i somehow handle the QueryInterface method wrong in some cases, but i have yet to find the precise problem. TLDR; not currently, sorry.1 point
-
Never thought about hiding the toolbar completely. Would be an option for a future update?1 point
-
look at the name of the file, there is a missing r1 point
-
Script becomes way slower after a msgbox - (Moved)
chesstiger reacted to Musashi for a topic
As far as possible, we have discussed this problem in the German forum as well. I have no idea if this may help, but the renowned (and obviously tenacious ) user named Chesstiger wrote a contribution that might be interesting : https://autoit.de/thread/86867-msgbox-verlangsamt-den-skriptablauf-unter-win-10/?postID=699054#post699054 Unfortunately the text is in German, but it should be no problem to translate it using Google or even better https://www.deepl.com/translator The User Mars has reported, that even a script compiled years ago suffers from this problem. Of course, these are only circumstantial evidence, but who knows, maybe someone will find a useful clue there. EDIT : Chesstiger told me that he has an account here under the same name, i.e. @chesstiger . I just want to mention this so that the right person is appreciated for their work .1 point -
How to post code on the forum
FrancescoDiMuro reacted to Jon for a topic
1 point