snehanshu
asked on
Windows Services and hooks
OK,
I wrote a keyboard hook DLL in Delphi and I also wrote a JournalRecord service.
Now I know that the journal record thing doesn't work if I don't check the allow service to interact with desktop thing.
What I want to know is:
1) Why does this happen
2) What can a service application have access to and what can it not see?
3) Can I get my service to monitor keyboard/mouse events without checking the allow... thing (How if yes)?
4) Any active links to MSDN explaining services (Looks like the ones provided in PAQs are no longer active).
I haven't yet got much help in the delphi section, so I hope for some enlightment here!
Thank you,
...Snehanshu
P.S.
My related question in Delphi TA:
https://www.experts-exchange.com/questions/20794138/Does-JournalRecord-hook-from-service-require-Allow-service-to-interact-With-Desktop.html
I wrote a keyboard hook DLL in Delphi and I also wrote a JournalRecord service.
Now I know that the journal record thing doesn't work if I don't check the allow service to interact with desktop thing.
What I want to know is:
1) Why does this happen
2) What can a service application have access to and what can it not see?
3) Can I get my service to monitor keyboard/mouse events without checking the allow... thing (How if yes)?
4) Any active links to MSDN explaining services (Looks like the ones provided in PAQs are no longer active).
I haven't yet got much help in the delphi section, so I hope for some enlightment here!
Thank you,
...Snehanshu
P.S.
My related question in Delphi TA:
https://www.experts-exchange.com/questions/20794138/Does-JournalRecord-hook-from-service-require-Allow-service-to-interact-With-Desktop.html
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for the links!
_corey_,
I looked in my delphi options and found a way to make the service interactive. Perhaps it does what the thread talks about behind-the scenes. Thanks to your link, I researched and found a solution.
Cheers!
...Snehanshu