🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: problems of saving a registry key to a file

#1878
From: Remy Lebeau (TeamB)
Date: Tue, 29 May 2007 09:28
18 lines
1652 bytes
"han" <hanzhangusa@yahoo.com> wrote in message
news:465b9222$2@newsgroups.borland.com...

> I tried your way, it is still the same. I tried directly using
savekey
> without using openkey function, still the same problem. I alse make
> sure the file does not exist before I am running the code.

Did you try calling GetLastError() after SaveKey() fails?

I suggest you go to http://www.deja.com and search through the
newsgroup archives.  Discussions regarding SaveKey() and LoadKey(),
and their cooresponding RegSaveKey() and RegLoadKey() API functions,
have been posted many times before.


Gambit
Technical Details
Message-ID: <465bf3c5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <465a6397@newsgroups.borland.com> <465b4af1$1@newsgroups.borland.com> <465b9222$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,321743db05a8d51
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <465a6397@newsgroups.borland.com> <465b4af1$1@newsgroups.borland.com> <465b9222$2@newsgroups.borland.com>
Subject: Re: problems of saving a registry key to a file
Date: Tue, 29 May 2007 02:28:07 -0700
Lines: 20
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: 75.82.252.126
Message-ID: <465bf3c5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1180431301 75.82.252.126 (29 May 2007 02:35:01 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail