Jump to content

nlhung

Members
  • Posts

    4
  • Joined

  • Last visited

About nlhung

  • Birthday 11/02/1994

Profile Information

  • Location
    Ha Noi

nlhung's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. oh. I don't know it. thank Richard Robertson!
  2. Yes, I fix code into: $msg = DllStructCreate('HWND hwnd;UINT message;WPARAM wParam;LPARAM lParam;DWORD time;ptr pt') DllCall('user32.dll','bool','GetMessageW','ptr',DllStructGetPtr($msg),"HWND","0x000A0288","UINT","0x0100","UINT","0x0101") It can not exit. What can I do to get the message?
  3. Yes, I know. But type "LPMSG" in Window to AutoIt is What? I think it's "ptr". And tagMsg in Window is typedef struct tagMSG { HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; } MSG, *PMSG, *LPMSG; To AutoIt I write "$msg = DllStructCreate('HWND hwnd;UINT message;WPARAM wParam;LPARAM lParam;DWORD time;ptr pt')". It true or false? Thank, Richard Robertson!
  4. Help me, Please! I do not know why, when this command crash. $ msg = DllStructCreate ('HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; ptr pt') DllCall ('user32.dll', 'bool', 'GetMessageW', 'ptr', DllStructGetPtr ($ msg)) I want to get messages from the queue by an application, how? Please help me, I am very thankful!
×
×
  • Create New...