🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6866

TRegistry question

#6866
From: Analian
Date: Fri, 08 Apr 2005 17:53
16 lines
1683 bytes
(not sure if this is the right group to post)
I'd like to do some writing and reading from the registry but I'm not 
familiar with it so I need some help.
I want to be able to do the following:
Create a child of the root key (I guess this is the appropriate place) named 
"BLA" (for example)
then I want to create its children "BLA_1" and "BLA_2"
then children of BLA_1 should be BLA_1_1 and BLA_1_2
also children of BLA_2 should be BLA_2_1 and BLA_2_2
and I want to be able to write some integers in all these keys and then, on 
program start, to check if the BLA key exist
and if so, to read the integers from all of its children. It's a simple task 
but the best I did with all the code I wrote was
getting exceptions from reading and writing to unexisting keys. I'd really 
appreciate a short sample code which does only
the stuff I mentioned. Thank you. 
Technical Details
Message-ID: <4256c523@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-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,da0d020c56fac00,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Analian" <analian@mail.bg>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: TRegistry question
Date: Fri, 8 Apr 2005 20:53:33 +0300
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 83.97.31.243
Message-ID: <4256c523@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112982819 83.97.31.243 (8 Apr 2005 10:53:39 -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