![]() |
| | #16 |
| Registered User Join Date: Aug 2003
Posts: 288
| logged_keys[0] = '\0'; or strcpy(logged_keys, ""); |
| X PaYnE X is offline | |
| | #17 |
| C++ Enthusiast Join Date: Mar 2005 Location: MI
Posts: 532
| Like Tonto said, why not try ZeroMemory? Oh and cgod what compiler were you using to make that "HotKey" keylogger?
__________________ Trinity: "Neo... nobody has ever done this before." Neo: "That's why it's going to work." c9915ec6c1f3b876ddf38514adbb94f0 Last edited by jmd15; 08-04-2005 at 09:18 AM. |
| jmd15 is offline | |
| | #18 |
| Banned Join Date: Oct 2004
Posts: 253
| MSVC 7.0, it should work on any compiler tho. |
| cgod is offline | |
| | #19 |
| the magic penguim Join Date: Jul 2005
Posts: 91
| You know that RegisterHotKey only works for the program that's running it don't you? It dosen't set a system wide hook. |
| lala123 is offline | |
| | #20 |
| C++ Enthusiast Join Date: Mar 2005 Location: MI
Posts: 532
| I don't like the RegisterHotKeys way of doing it, I'm gonna write a DLL and it WILL work, even if it takes me a little while. Oh I am using Dev-C++ and it seems to not like some of your code.
__________________ Trinity: "Neo... nobody has ever done this before." Neo: "That's why it's going to work." c9915ec6c1f3b876ddf38514adbb94f0 |
| jmd15 is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simulate Keys with a Keyboard Hook | guitarist809 | Windows Programming | 3 | 11-14-2008 08:14 PM |
| C++ Global Keyboard Hook | darknite135 | C++ Programming | 4 | 02-01-2008 07:36 PM |
| Keyboard hook | joecaveman | Windows Programming | 2 | 09-03-2005 08:07 AM |
| How to keep static data in a keyboard hook? | junbin | Windows Programming | 1 | 01-19-2003 03:24 AM |