MegaFlames
>If you can solve a problem for me maybe we can talk about it.
Hey now I thought you were one of the ones speaking so highly of the OS that I
asked -you- for the support! <nudge nudge> 😉
>I need to know how to set a Windows screen saver name dynamically without
having to recompile my .DEF file. Any ideas?
Ideas sure, but wouldn't you rather have good docs?
Recompiling a DEF file or screen saver module does NOT dynamically
change a screen saver name. You need to copy it to a FILENAME.SCR
file in the \WINDOWS directory, and restart Windows. So, before you
start it, all you have to do is patch the .SCR file. Not pretty, but
it would work within the re-start method.
If you want to change the already existing blankers name, you'll first
have to figure out what is known by Windows about the screen blanker
names and files. Somewhere it has to store the list of screen
blankers, probably at the core level, not just in the Desktop control
panel application. Thats my guess because I know Windows looks up
all existing blankers at startup.
As far as run time permissions to find, read or change that core data
of Doze, good luck… cant help ya there.
Perhaps the best idea is to patch the SCR and give the user a dialog "Restart
Windows now? Your screen blanker will be known as "ABC" until you do restart
Windows".
Bri