Jump to content

Recommended Posts

Posted (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 by ohnoryno

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...