🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Parsing a registry file ???

#7336
From: Marc
Date: Tue, 08 Feb 2005 17:41
23 lines
1909 bytes
Hi

I tried your example and it results the same as my stream 
functions.  Registry files are not basic text file, they have 
extra formatting.  Try your code you'll see the outputs are 
garbage.

As for the code I posted its a stripped down version of actual 
code, less the string processing I should be doing.  Look up 
getline() on msdn its an actual function used with streams.


I'll investigate some more, when using export in the registry 
UI there are several ways to export a reg file one of which is 
<Win9x/NT4 reg file> which strips out the formatting and then 
is readable in standard code, either fstreams or usiong the 
example you provided.  The regedit command line documetation 
is hard to come by, so if you know of a good place to find 
regedit documentation let me know.

again thanks for your help.
Marc
Technical Details
Message-ID: <4208f9c5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4208ebcf$1@newsgroups.borland.com> <4208efe9$1@newsgroups.borland.com> <4208f087@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e84bf15728e20ff1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc" <NOSPAM_marc.beaudry@gmail.com>
Sender: "Marc" <NOSPAM_marc.beaudry@gmail.com>
Reply-To: "Marc" <NOSPAM_marc.beaudry@gmail.com>
Subject: Re: Parsing a registry file ???
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 138.11.254.204     
X-Forwarded-For: unknown
References: <4208ebcf$1@newsgroups.borland.com> <4208efe9$1@newsgroups.borland.com> <4208f087@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4208f9c5$1@newsgroups.borland.com>
Date: 8 Feb 2005 09:41:25 -0800
X-Trace: newsgroups.borland.com 1107884485 207.105.83.66 (8 Feb 2005 09:41:25 -0800)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail