Screensavers...
OK, maybe i missed this somewhere, but how do you turn a program into a screen saver. I am turning my 4th dimensional cube into a saver for my teacher, and home, but i need to know how. Can sombody please help.
At [1] you''ll find everything you need.
Bjørn.
[1] http://www.wischik.com/scr/
Bjørn.
[1] http://www.wischik.com/scr/
We are boki. The rest is known.
Well, after reading the WHOLE site, i can safely say that i was more lost then when i began!! I have it all set up, i just need to know how to make it .scr file!
help...
help...
Changing an EXE to an SCR file is a long and difficult process:
Rename it.
Rename it.
November 24, 2001 06:00 AM
soreno: where is the full source? I don''t see any messageboxes or anything...
Clock.rc
in msvc goto the ressourceview..
Edited by - soreno on November 24, 2001 8:22:50 AM
in msvc goto the ressourceview..
Edited by - soreno on November 24, 2001 8:22:50 AM
feagle814, its actually pretty funny. I knew that you could just rename it, but when it ran as a SS, it really REALLY went slow, maybe its just me, but I need some more effecient code, im sure it has to do with the formate of the project.
Holla
Holla
DarkHunter> it isn't enough to just rename a exe to scr. you have to make sure that only one instance of your program can run at a time, else windows will start your screensaver multiple time (slowing it down..)
there are many ways to make sure that only one instance is allowed, and i don't which is the most correct. However the first lines in my "WinMain" are:
//Only one instance accepted
HANDLE handle;
handle = CreateMutex(NULL, FALSE, "myDamnScreensaver!");
if(GetLastError()==ERROR_ALREADY_EXISTS)
{
//Exit!
return 0;
}
Edited by - soreno on November 25, 2001 6:06:55 AM
there are many ways to make sure that only one instance is allowed, and i don't which is the most correct. However the first lines in my "WinMain" are:
//Only one instance accepted
HANDLE handle;
handle = CreateMutex(NULL, FALSE, "myDamnScreensaver!");
if(GetLastError()==ERROR_ALREADY_EXISTS)
{
//Exit!
return 0;
}
Edited by - soreno on November 25, 2001 6:06:55 AM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement