|
-
May 2nd, 2000, 07:25 PM
#1
Thread Starter
New Member
I'm having difficulty in detecting if the mouse/keyboard
are pulled out from the CPU. I want to prompt a message
if someone pulled out any one of the devices from the CPU.
I tried few API calls but they are only checking if the mouse is installed or not and not checking if the mouse itself is removed from the CPU.
Please help.
Thanx guys.
-
May 3rd, 2000, 02:12 AM
#2
Lively Member
Erm, I'm sorry, but that's not possible. If there IS a method for detecting the absence of a mouse, it must be done through a low-level device driver that can directly access the hardware. In Windows 95, device drivers are 16-bit linear executables, and in windows NT, they are 32-bit portable executables with certain exported functions. Visual Basic is incapable of producing either.
- Steve
Real programmers use COPY CON PROGRAM.EXE
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|