Thread: A problem with Register

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    5

    A problem with Register

    I have a programme of mine, that enables cheating in Spider game in Windows Xp. It changes the value of one key in the Windows register. The problem is - that it works correctly only on my computer. On other computers there were different paths to that register key. I wonder if there is a way to make my programme search for that key so that it may run on any other computer.
    I would be grateful for some help.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    What is the full registry path on your computer, and give an example of one from another computer.

    gg

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    5
    thats from my comp:

    HKEY_USERS\S-1-5-21-1060284298-113007714-1343024091-1004\Software\Microsoft\Spider

    I'm unable to write the path from another computer right now, but i will as soon as possible.

  4. #4
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Use:
    Code:
    HKEY_CURRENT_USER\Software\Microsoft\Spider
    HKEY_CURRENT_USER is a link to the currently logged on user's HKEY_USERS key. Check it out in regedit.

  5. #5
    Registered User
    Join Date
    May 2004
    Posts
    5
    It did work Thank's!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  2. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 05:20 AM
  3. Words and lines count problem
    By emo in forum C Programming
    Replies: 1
    Last Post: 07-12-2005, 03:36 PM
  4. fullscreen toggling problem
    By hannibar in forum Windows Programming
    Replies: 0
    Last Post: 02-15-2005, 08:06 PM
  5. linked list problem
    By kzar in forum C Programming
    Replies: 8
    Last Post: 02-05-2005, 04:16 PM