Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Screensavers...

This topic is 6020 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
soreno: where is the full source? I don''t see any messageboxes or anything...

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!