CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Singapore
    Posts
    33

    Registry question

    Is there any difference in storing values in HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE.

    Is there any rules as to what sort of values to be put in which registry.

    I only know that if my application is wrote from CWinApp, I could use the registry easily by calling some standard functions. By using these functions, the values will be stored in HKEY_CURRENT_USER.

    So why would anyone want to store values in HKEY_LOCAL_MACHINE??

    Thanks!!

    Steve


  2. #2

    Re: Registry question

    so easy:
    in machine settings common for all users for your software
    in user section store individual user settings for your software, here is switching one part of users section (depending on logged user), maybe you have not intalled user loging in (w9x can live (alone machine) without input user password) so it seems to you is every time one user at machine
    look for examples into your registry


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured