🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Loading .reg file

#6507
From: Bob Gonder
Date: Thu, 05 May 2005 14:28
11 lines
1550 bytes
Bolek Vrany wrote:

>I'm trying to load a .reg file created by export from regedit.exe. I 
>tried RegLoadKey, RegRestorekey etc., but nothing works. I also tried 

The reg file is just text, so parse it and use RegOpenKeyEx() and
RegSetValueEx().

It looks like RegLoadKey() loads from the databases that make up the
registry. I don't think this is what you want. See Registry Hives:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/registry_hives.asp
Technical Details
Message-ID: <l0bk71hi3mhuinbheg8vpciu10ihlr7tje@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4279f9eb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2f134f09f59cee56
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Loading .reg file
Date: Thu, 05 May 2005 07:28:03 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <l0bk71hi3mhuinbheg8vpciu10ihlr7tje@4ax.com>
References: <4279f9eb$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.109.152
X-Trace: newsgroups.borland.com 1115303281 67.77.109.152 (5 May 2005 07:28:01 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail