Guest_imported
New member
- Jan 1, 1970
- 0
Hai Friends,
In my project i have to make the user log out of the machine, if there is no Keyboard or mouse input after a specified period of time.
Using the GetAsynKeyState Api i was able to achive this , I have a problem in this, If the User is in DOS Prompt, GetAsynKeyState api traps the key stroke if OS is NT /2000, But if the OS is 98 it does not Trap the Key Stroke.
Please guide me. Or
Is there any other way to Find the system Idle time.
Thanks & Rgds ,
Chander
In my project i have to make the user log out of the machine, if there is no Keyboard or mouse input after a specified period of time.
Using the GetAsynKeyState Api i was able to achive this , I have a problem in this, If the User is in DOS Prompt, GetAsynKeyState api traps the key stroke if OS is NT /2000, But if the OS is 98 it does not Trap the Key Stroke.
Please guide me. Or
Is there any other way to Find the system Idle time.
Thanks & Rgds ,
Chander