Link to home
Start Free TrialLog in
Avatar of mjswart
mjswart

asked on

Turning a screensaver off in NT4

I've written a screensaver in NT4 and I experience the problem answered at http://www.icq.com/faq/awaystuck.html

A summary of the problem is that icq erroneously 'detects' that the screen saver is still running.

ICQ's answer says that there may be a problem with
screensaver.

Here's the quesion:
How does icq detect that there is a screensaver running in WinNT4?

Or,

Could someone give more details on how the screensaver is 'broken'.

Mike
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mjswart
mjswart

ASKER

Your link show's how a normal programmer would determine if there were a screen saver running. Is this the method that ICQ uses?
Probably since this method also seems broken.

It returns a "Screen-saver" desktop even when one is not running. hence, it determines that the screensaver is running when it isn't.  a la
BUG: OpenDesktop ("screen-saver",...) Returns a Valid Handle When the Screen Saver Is Not Running
http://support.microsoft.com/support/kb/articles/Q230/1/17.ASP

>Is this the method that ICQ uses?

Only ICQ programmers know.

>It returns a "Screen-saver" desktop even when one is not running.

This problem occurs on Windows NT 4.0 with Service Pack 4 only.