• C

Disabling Mouse and Keyboard

How can i disable the keyboard and mouse when a process is running in the background in windows 95/98/nt environment?

I must be able to restore the input devices after the process is over. so, if i can call an  'exe' file which will deactivate keyb/mouse and another 'exe' file which will restore it.  The process running should have the highest severity level rather than the 'exe' file called.
Ramki072999Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

alexoCommented:
This is a duplicate of Q.10188554
My suggested answer is there :-)
0
AggarwalCommented:
use win32 hooks
0
alexoCommented:
>> use win32 hooks
Now that's a fast learner... ;-)
(http://www.experts-exchange.com/jsp/qShow.jsp?ta=winprog&qid=10189673 )
0
AggarwalCommented:
>> use win32 hooks
Now that's a fast learner... ;-)

alexo : was that for me !! thanks !!

i have tried exercises for all the hook types .these are very powerful.

regards

0
zhoujohnsonCommented:
You can use the following statement.
outp (0x21, ???)
??? is make of IRQ of 8259A. 0 means open 1= sheilded.


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C

From novice to tech pro — start learning today.