Article View: borland.public.cppbuilder.nativeapi
Article #6870Re: TRegistry question
From: Remy Lebeau (TeamB)
Date: Fri, 08 Apr 2005 20:49
Date: Fri, 08 Apr 2005 20:49
16 lines
1557 bytes
1557 bytes
"Mark Guerrieri" <mguerrieri@nospam_cmsgrp.com> wrote in message news:4256cf97$1@newsgroups.borland.com... > registry->Access = KEY_ALL_ACCESS; It should be noted that under NT-based systems, KEY_ALL_ACCESS is only available to administrators, especially when the HKLM key is involved. It is best practie to open keys in KEY_READ and KEY_WRITE access only, and never mix the two together. If are only going to write values, use only KEY_WRITE, or even just KEY_SET_VALUE. For reading, only use KEY_READ, or even just KEY_QUERY_VALUE. If you need to read and write to a key, close the key first so that you can re-open it with different Access rights. Gambit
Technical Details
Message-ID:
<4256edfd$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4256c523@newsgroups.borland.com> <4256cf97$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,da0d020c56fac00 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4256c523@newsgroups.borland.com> <4256cf97$1@newsgroups.borland.com> Subject: Re: TRegistry question Date: Fri, 8 Apr 2005 13:49:48 -0700 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4256edfd$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112993277 68.69.17.41 (8 Apr 2005 13:47:57 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail