Article View: borland.public.cppbuilder.nativeapi
Article #813Re: Registry
From: Colin B Maharaj
Date: Thu, 29 Nov 2007 23:51
Date: Thu, 29 Nov 2007 23:51
33 lines
2361 bytes
2361 bytes
Nope nope nope nope, HKLM is for Administrator users only. Sorry for sounding a little harsh Mark, but I am right on this. I think I will have to write an article on this or something. For all user settings, use HKEY_USERS (your hKey) then..... ".DEFAULT\\Software\\Your Company\\Your Software Title\\" (your SubKey) as the starting point for your settings..... It will work in Win2k (all), WinXp Pro, Win2003 Server(s), Win Vista (all). I have software that works on all these platforms without any tricky coding and all work perfectly - same code base same EXE. Mark Jacobs wrote: > "D Ray" <david@timecalc.com> wrote in message > news:474a4ca5$1@newsgroups.borland.com... >> I need a place in the registry to create a value that is >> read/writeable by all users (whether admin or ordinary and regardless >> of which user created it) on a system and will work with any version >> of Windows from Windows2000 forward. >> Does such a location exist? > > The usual place is hkey_local_machine\software\Your Company\Your > Software Title > > Whatever the case, you will always need Registry write access if you > want to store data there. Under Vista, this usually needs the manual > dismissal of at least one UAC prompt.
Technical Details
Message-ID:
<474f5083@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<474a4ca5$1@newsgroups.borland.com> <474a90b4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fb6bafcdf64ba755 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 29 Nov 2007 19:51:32 -0400 From: Colin B Maharaj <noreply@myhost.com> User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Registry References: <474a4ca5$1@newsgroups.borland.com> <474a90b4@newsgroups.borland.com> In-Reply-To: <474a90b4@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 071129-0, 11/29/2007), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 190.58.101.127 Message-ID: <474f5083@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1196380291 190.58.101.127 (29 Nov 2007 15:51:31 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail