Services, Drivers and Messages

  • Thread starter Thread starter andy.somerville
  • Start date Start date
A

andy.somerville

Hi everyone,

I hope this is an appropriate list, I couldnt find a more specific
one on XP development.

Ive recently run into a stumbling block while trying to solve a
development problem in XP. I am attempting to write software which
controls the mouse with, for simplicity sake, say, a camera. It is
required to be available from boot time to shut down, during, and into
user switching, the lock screen, etc. (while mouse messages are
essential I would also like to be able to send a few other messages as
well.)

After much research it seems my problem is this: While it seems
simplest to write it as a service, services cannot (so it seems) send
(Mouse) messages to the desktop at certain times (login, welcome
window, lock screen, any other terminal besides 0). As this is an
unacceptable limitation for this project I decided to look into ways to
use a device driver to get around this. Unfortunately it seems that,
since device drivers are written in kernel mode, among other
difficulties, I do not have access to the functions which would allow
me to send messages (postMessage, sendInput).

Perhaps expecting to be able to do what I want here is unreasonable, Im
uncertain, but If there is anyone out there who understands the bowels
of windows well enough to offer a clue, I would be most appreciative.
If any of my assertions seem questionable, or the problem is not clear,
I would be more than happy to elaborate.

Thanks in advance,
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top