my current project, which involves mapping out a MUD (Multi User Domain), uses a global keyboard hook to obtain the directions. it does this by storing the character(s) pressed before the carriage return was used. However, when i first started my program up, it threw a run-time error --similar to the ones you can send to a manufacturer when something is wrong with their program-- and i don't know what to do about it.
I know the program used InstallHook (same dunction Icezelon used to install his mouse hook in his tutorial on hooks), but once my program uses it, it sends the error.
i believe the error occurse somewhere within WM_CHAR(++++) or WM_KEYHOOK(----), which is where i use the keyhook dll (below)
[code removed by admin]
I think we have made it clear enough times that the forum will not allow topics of this type.
Quote from: madMASM on January 29, 2006, 09:50:38 PM
my current project, which involves mapping out a MUD (Multi User Domain),
There are API functions to enumerate a domain.
Quote from: madMASM on January 29, 2006, 09:50:38 PM
uses a global keyboard hook to obtain the directions.
This bit makes no sense at all. You do not need a global keyboard hook to instruct an app what to do.
Quote from: madMASM on January 29, 2006, 09:50:38 PMit does this by storing the character(s) pressed before the carriage return was used.
Right - so you are trying to capture logons and passwords. Nice try - if you want help you will have to come up with something better than that garbage.