ohnoryno Posted October 16, 2013 Posted October 16, 2013 (edited) In windows xp User32.dll (ver 5.1.2600.5512) it can run DllOpen(),DllCall() But In Windows 7, the different path User32.dll (ver 6.1.7600.16384) DllOpen(),DllCall() can not run In special circumstances, the command of the keyboard events are needed 22.au3 $i=DllOpen(@ScriptDir & "user32.dll") DllCall($i, 'int', 'keybd_event', 'int', 0x41, 'int', 0, 'int', 0, 'ptr', 0) DllCall($i, 'int', 'keybd_event', 'int', 0x41, 'int', 0, 'int', 2, 'ptr', 0) Edited October 16, 2013 by ohnoryno
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