There appears to be a strange bug(?) related to Windows 98 and a screen saver that I wrote using Delphi 1. I have been using and distributing a 16 bit screen saver written with Delphi for many years now, and the screen saver works great under Windows 3.1, Win 95, Win NT 4.0. However, I am now getting complaints (and can verify the problem) that something very odd occurs when this screen saver is run under Windows 98.
First, if I run the screen saver from a DOS prompt, (e.g., MYSAVER.SCR /S) the screen saver runs perfectly.
However, if I sit back and allow Win98 to load the screen saver automatically after waiting the "x" wait minutes, then the problem/bug occurs.
What is the bug? The bug is this... If you have a WAV sound file linked to the "Windows default" sound scheme's "Open program" action, then this bug will be seen (actually "heard"). The bug is this...every 2 seconds, the "Open program" WAV file will play! Throughout the duration that the screen saver is active and running, every 2 seconds the "Open program" WAV file will play...over, and over again.
Any idea why something so unusual would be occuring? Especially since "MYSAVER.SCR /S" from the command line runs perfectly, with no repetitious sounds.
This behavior does not occur with any of the Win98 screen savers that come with Win 98. And if this is a Win 98 bug, and I must find a "workaround", does anyone have any suggestions on how to turn off the playing of WAV files for the duration for the screen saver, and then turn sound playing back on once the screen saver closes down?
Thanks.
Just set the wav -volume OFF.
Freeware components enough which let you do this.
If you don't have one, let me know I'll send you one or give the URL.
Zif.