Making screensavers work outside the windows folder

This is a discussion on Making screensavers work outside the windows folder within the Windows Programming forums, part of the Platform Specific Boards category; Hi. I wanna know how to make my screensavers work outside the windows-folder. (Because, my screensaver are reading info from ...

  1. #1
    Politics&Cpp geek Da-Nuka's Avatar
    Join Date
    Oct 2004
    Posts
    104

    Making screensavers work outside the windows folder

    Hi.
    I wanna know how to make my screensavers work outside the windows-folder. (Because, my screensaver are reading info from .tga files, and it seems that my screensaver.scr cant read them while they are inside the windows folder.


    If you have any good advice on how to get this work, i'm listening!

  2. #2
    Chief Code Coloniser!
    Join Date
    Apr 2005
    Posts
    121
    correct me if I'm wrong, but the "working" folder will be the windows directory anyway?? So if you're loading images, you're going to have to do something smarter than use relative paths.

  3. #3
    Politics&Cpp geek Da-Nuka's Avatar
    Join Date
    Oct 2004
    Posts
    104
    I think I have several options, and I dont have a clue how to do any of them. (I have tried the MSDN).

    1. To register the screensaver in registry, so that it can run without working inside the windows directory.

    2. To include the images into the exefile, load them into memory, and read from memory instead of files.


    Can anyone help me doing one of those?

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    220
    There should be a registry key somewhere, in something like HKEY_USER I would suspect, that relates to what screensaver it will load when the timeout value has been reached. What they key is I have no clue, but it's somewhere around there I"m sure.
    OS: Windows XP Pro CE
    IDE: VS .NET 2002
    Preferred Language: C++.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Making glut.h work
    By jsrig88 in forum C++ Programming
    Replies: 3
    Last Post: 04-09-2009, 12:35 AM
  2. Making the Dihydrogen Oxide work for you.
    By sean in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 02-16-2002, 03:43 PM
  3. Getting Layered Windows to Work
    By Si in forum Windows Programming
    Replies: 3
    Last Post: 01-22-2002, 05:21 PM
  4. Replies: 6
    Last Post: 01-07-2002, 01:46 AM
  5. making less than and greater than work
    By mikezmr2 in forum C++ Programming
    Replies: 3
    Last Post: 09-19-2001, 07:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21