Article View: borland.public.cppbuilder.nativeapi
Article #7433Parsing a registry file ???
From: marc
Date: Tue, 08 Feb 2005 16:41
Date: Tue, 08 Feb 2005 16:41
21 lines
1319 bytes
1319 bytes
Hi
I am trying to open a file that I exported from regedit.exe and
I am getting garbage. If I parse a regular text file then my
code work fine. I see the lines that are in the text file, but
in the case of a registry file somefile.reg I only get garbage,
aren't exported reg file statndard text file, and if not how
can I read this file for parsing.
Thanks for your time,
Marc
// Code sample
string strCurrentLine;
while(getline(inNewFile,strCurrentLine))
{
ShowMessage(strCurrentLine);
}
inNewFile.close();;
Technical Details
Message-ID:
<4208ebcf$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e84bf15728e20ff1,start 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: Parsing a registry file ??? Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 138.11.254.204 X-Forwarded-For: unknown NNTP-Posting-Host: 207.105.83.66 Message-ID: <4208ebcf$1@newsgroups.borland.com> Date: 8 Feb 2005 08:41:51 -0800 X-Trace: newsgroups.borland.com 1107880911 207.105.83.66 (8 Feb 2005 08:41:51 -0800) Lines: 22 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail