Aceguy Posted March 7, 2008 Posted March 7, 2008 (edited) can anyone please explain why its nessecary to $dll = DllOpen("user32.dll") when using _IsPressed("23", $dll) on very low sleep times. what difference would it make from just _Ispressed("23"). Edited March 7, 2008 by Aceguy [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock
ReaImDown Posted March 7, 2008 Posted March 7, 2008 can anyone please explain why its nessecary to$dll = DllOpen("user32.dll")when using _IsPressed("23", $dll) on very low sleep times.what difference would it make from just _Ispressed("23")._ispressed needs to check the .dll to see if _ispressed is true or not [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
Aceguy Posted March 7, 2008 Author Posted March 7, 2008 thanks [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock
Developers Jos Posted March 7, 2008 Developers Posted March 7, 2008 Doing a DllOpen() makes the process faster because it save the open and close of the DLL on each check for a keypressed:RemarksIf a dll filename is given then the DLL is automatically loaded and then closed at the end of the call. If you want to manually control the loading and unloading of the DLL then you should use DllOpen and DllClose and use a handle instead of a filename in this function. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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