Click to See Complete Forum and Search --> : getting programname using hooks
funkywon
September 15th, 2005, 11:49 AM
hello! which hook procedure do i have to use in order to get the program name or any information, the user is about to open? i am not sure about this..thnx very much..
maybe you can give me any link to this topic...? thanx
PeejAvery
September 16th, 2005, 05:05 PM
A keylogger or a system logger can be found easily. Search Google.
ZOverLord
December 24th, 2005, 05:52 AM
Here is a Good Example, it is done in MASM32, however it is easy to read and the concept can be ported to C++ if needed.
Whats different about this example ("The Entire Project source and compiled program is included in both Zip and Rar format there") is that it shows HOW to get information like you are requesting without the need to use a dll, this method shows how a stand-alone program can create Global Hooks and be able to get information such as window Title, Program name and much more:
http://www.codeguru.com/forum/showthread.php?p=1296520#post1296520
Calculator
December 24th, 2005, 07:06 PM
You might look into a WH_SHELL hook for such notifications. Determining what you are after in a round-about fashion from a low-level keyboard hook is unnecessary.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.