A question for only the greatest minds of our time
I am experiencing a problem with a computer program I designed. It is installed on windows 95 laptops. After 20 minutes of inactivity, they switch to some type of suspend mode. I disabled the automatic suspend on the machines, yet they still drop into suspend. The problem is that when they drop into suspend, my program crashes. Is there any way I can prevent the computer from going into suspend? I have tried to send a keycode every 10 minutes or so, but that does not seem to register activity. I may have done it wrong. Any help would be greatly appreciated, but I ask that you be quite sure that it works on windows 95, because I have code for blocking the suspend in windows 98 that does not work in 95. Thank you for your time. Good luck. I know I need it.
Sincerely,
Joe
Thank you for the suggestion but....
I have already tried that before. Although it works well with windows 98 and ME, it does not seem to work with the problem I am experiencing in windows 95. I believe the hard drive is spinning down and causing the computer to go into a type of "suspend." I think the only way to prevent this is to simulate some kind of keystroke or mouse movement to convince the hard drive that there is still activity. Thank you for your time and any suggestions. If you know how to simulate keystrokes or mouse movement in a situation similar to this, I would appreciate it.
Joe