+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Showing results 21 to 38 of 38

Thread: Why you shouldn't use SendKeys

  1. #21

    Zealot
    Pwnd is a jewel in the rough Pwnd's Avatar
    Join Date
    Jun 2005
    Location
    import java.util.*;
    Posts
    788

    Default

    Hydro, it looks like you double posted, but the post above yours is is "Cadet Crusher." Rofl, what the hell?

  2. #22
    Banned

    Disciple
    ~=HyDrO=~ is on a distinguished road ~=HyDrO=~'s Avatar
    Join Date
    Sep 2005
    Posts
    497

    Default

    Quote Originally Posted by Pwnd
    Hydro, it looks like you double posted, but the post above yours is is "Cadet Crusher." Rofl, what the hell?
    1. notice the exact same signature?
    2. quote it ;)

  3. #23
    Senior Member

    Heretic

    Crusader
    Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac's Avatar
    Join Date
    Jun 2005
    Location
    Jacksonville, FL, USA
    Posts
    3,413

    Default

    Every thread that Indulgence posts in, the names and avatars of people randomly change to Startrek TNG characters. He did this last December. It's old.
    The Ultimate Guide Thread
    Quote Originally Posted by Ethernet Networking Bible
    Thou shalt switch where thy can, and route where thy must.

  4. #24
    Jackhammer Jesus Retired Staff Member

    Disciple
    indulgence is just really nice indulgence is just really nice indulgence's Avatar
    Join Date
    Jan 1970
    Posts
    521

    Default

    nubcakes
    <img src="http://images.google.com/images?q=tbn:BeYR5xvTozSv5M:http://www.ibiblio.org/pub/multimedia/pictures/asia/vietnam/people/balao.jpg" onload="alert('sucky sucky - 5 dollah');" />
    lolerskates

  5. #25
    Banned

    Deviant
    beastlike is on a distinguished road
    Join Date
    Dec 2008
    Posts
    90

    Default

    keybd_event and sendinput are better. keybd_event got me through thousand dollar projects just fine.

  6. #26

    Zealot
    OmegaMatrix is just really nice OmegaMatrix is just really nice OmegaMatrix's Avatar
    Join Date
    Aug 2007
    Location
    Alberta.
    Posts
    937

    Default

    lern2not necropost.
    Quote Originally Posted by tonk42 View Post
    how would u feel if I was eating a cake with Pricness Diana's face on it?

  7. #27
    =) Senior Member
    Game Hacking Staff

    Supreme Being
    K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ's Avatar
    Join Date
    Oct 2004
    Location
    South Carolina
    Posts
    11,299
    Blog Entries
    2

    Default

    Quote Originally Posted by beastlike View Post
    keybd_event and sendinput are better. keybd_event got me through thousand dollar projects just fine.
    how is keybd_event better than sendkeys?
    Kc: what waht
    DSG: in da butt
    DSG: lol
    DSG: :P
    Kc: what what!?
    Kc: IN THE BUTT
    Kc: I say what what?
    DSG: in the butt

  8. #28
    Banned

    Deviant
    beastlike is on a distinguished road
    Join Date
    Dec 2008
    Posts
    90

    Default

    Quote Originally Posted by K? Pŕo?ćtiόnŹ View Post
    how is keybd_event better than sendkeys?
    can send Non-Printable Characters or Unicode text. SendInput supercedes keybd_event and allows multiple keys being sent at once via nested structures but is more complicated than keybd_event.

  9. #29
    =) Senior Member
    Game Hacking Staff

    Supreme Being
    K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ's Avatar
    Join Date
    Oct 2004
    Location
    South Carolina
    Posts
    11,299
    Blog Entries
    2

    Default

    Either way you cant direct the input without the use of other calls so sendmessage is still better in my mind.
    Kc: what waht
    DSG: in da butt
    DSG: lol
    DSG: :P
    Kc: what what!?
    Kc: IN THE BUTT
    Kc: I say what what?
    DSG: in the butt

  10. #30
    Banned

    Deviant
    beastlike is on a distinguished road
    Join Date
    Dec 2008
    Posts
    90

    Default

    Quote Originally Posted by K? Pŕo?ćtiόnŹ View Post
    Either way you cant direct the input without the use of other calls so sendmessage is still better in my mind.
    sendmessage will fail a lot of times, so it's definitely not better, i'll let you figure out why.

  11. #31
    =) Senior Member
    Game Hacking Staff

    Supreme Being
    K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ's Avatar
    Join Date
    Oct 2004
    Location
    South Carolina
    Posts
    11,299
    Blog Entries
    2

    Default

    It's worked with every application I've used, you just need to figure out how the application handles its messages.
    Kc: what waht
    DSG: in da butt
    DSG: lol
    DSG: :P
    Kc: what what!?
    Kc: IN THE BUTT
    Kc: I say what what?
    DSG: in the butt

  12. #32
    Banned

    Deviant
    beastlike is on a distinguished road
    Join Date
    Dec 2008
    Posts
    90

    Default

    Quote Originally Posted by K? Pŕo?ćtiόnŹ View Post
    It's worked with every application I've used, you just need to figure out how the application handles its messages.
    try it on zonealarm or outpost, see how that works out for you ;)

  13. #33
    =) Senior Member
    Game Hacking Staff

    Supreme Being
    K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ's Avatar
    Join Date
    Oct 2004
    Location
    South Carolina
    Posts
    11,299
    Blog Entries
    2

    Default

    I dont have either and I dont plan on getting either so I cant **** around with it.
    Kc: what waht
    DSG: in da butt
    DSG: lol
    DSG: :P
    Kc: what what!?
    Kc: IN THE BUTT
    Kc: I say what what?
    DSG: in the butt

  14. #34
    Senior Member
    Gold Member

    Inquisitor
    Belphegor is a splendid one to behold Belphegor is a splendid one to behold Belphegor is a splendid one to behold Belphegor is a splendid one to behold Belphegor is a splendid one to behold Belphegor is a splendid one to behold
    Join Date
    Jan 2005
    Posts
    4,460

    Default

    Why would you hack your own firewall is what I want to know. :X

  15. #35
    Banned

    Deviant
    beastlike is on a distinguished road
    Join Date
    Dec 2008
    Posts
    90

    Default

    Quote Originally Posted by Belphegor View Post
    Why would you hack your own firewall is what I want to know. :X
    who says it's my own ;D if you wanna see something funny and have zonealarm make it popup from you trying to connect to something then kill explorer.exe from the taskmgr and see what happens ;)

  16. #36
    Senior Member
    Gold Member

    Inquisitor
    Belphegor is a splendid one to behold Belphegor is a splendid one to behold Belphegor is a splendid one to behold Belphegor is a splendid one to behold Belphegor is a splendid one to behold Belphegor is a splendid one to behold
    Join Date
    Jan 2005
    Posts
    4,460

    Default

    I got nothing, results anyone else? It just restarted explorer, and the connection to the proggie was severed.

  17. #37
    Banned

    Deviant
    beastlike is on a distinguished road
    Join Date
    Dec 2008
    Posts
    90

    Default

    Quote Originally Posted by Belphegor View Post
    I got nothing, results anyone else? It just restarted explorer, and the connection to the proggie was severed.
    they must of finally fix it, zonealarm only accept keyboard/mouse input from explorer to signify real mouse/keyboard input as thats where it comes from, it use to be if you killed explorer zonealarm would no longer accept your input so it'd be stuck in its current state. Btw incase you havent figured it out, one way to bypass zonealarm is to inject a dll into explorer and send mouse input to close nag screen or whatever else...outpost isn't affected by this.

  18. #38
    Senior Member

    Heretic

    Crusader
    Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac has a reputation beyond repute Dyndrilliac's Avatar
    Join Date
    Jun 2005
    Location
    Jacksonville, FL, USA
    Posts
    3,413

    Default

    The original topic was strictly concerning the downside of SendKeys, a functionality intrinsically a part of VB6 (I don't use VB.NET to know if it is a part of VB.NET as well). Therefore the argument of whether it is better to signal keyboard events using lower level function calls which deal with the input drivers as opposed to sending the request for a keyboard input event via the built in support from the operating system should really be moved to another thread.

    That said, the crux of the matter depends on how well the OS and the software in question interfaces together and conforms to the same basic elements that can be assumed to be present. The primary drawbacks from using SendMessage or PostMessage (PostMessage actually functions better for sending keyboard input) come from the window thread of the application incorrectly processing keyboard event messages, and this does not apply to raw keyboard events generated by the drivers. In most situations there is no reason to use one or the other, though.
    The Ultimate Guide Thread
    Quote Originally Posted by Ethernet Networking Bible
    Thou shalt switch where thy can, and route where thy must.

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Code Colors
    By psicrash in forum Software Development
    Replies: 16
    Last Post: 12-25-2005, 02:39 AM
  2. Options Button
    By lpxxfaintxx in forum Software Development
    Replies: 13
    Last Post: 12-08-2005, 03:12 AM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts