Click to See Complete Forum and Search --> : Start 3rd party app from keyboard hook


adov
January 18th, 2006, 12:52 PM
Can a keyboard hook start an exe application instead of sending message to a running application? If yes how do I do it?

Help is appreciated

Dov

Marc G
January 18th, 2006, 01:42 PM
I guess so. you can just call ShellExecute from within your hook BUT i won't recommend it. A hook should return as fast as possible. So a better solution is to post a message from your keyboard hook to your own program and that program will launch the 3rd party application.