Click to See Complete Forum and Search --> : Registry question


Steve Chia
May 26th, 1999, 07:20 PM
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

real name
May 27th, 1999, 12:12 AM
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