🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: problems of saving a registry key to a file

#1883
From: han
Date: Tue, 29 May 2007 19:53
26 lines
1734 bytes
Thanks for the help. I tried using GetLastError(), it says the "the Operation completed successfully". It is so strange.

han zhang

"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"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: <465c84a0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <465a6397@newsgroups.borland.com> <465b4af1$1@newsgroups.borland.com> <465b9222$2@newsgroups.borland.com> <465bf3c5$1@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: "han" <hanzhangusa@yahoo.com>
Sender: "han" <hanzhangusa@yahoo.com>
Reply-To: "han" <hanzhangusa@yahoo.com>
Subject: Re: problems of saving a registry key to a file
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 64.143.221.52     
References: <465a6397@newsgroups.borland.com> <465b4af1$1@newsgroups.borland.com> <465b9222$2@newsgroups.borland.com> <465bf3c5$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <465c84a0$1@newsgroups.borland.com>
Date: 29 May 2007 12:53:04 -0700
X-Trace: newsgroups.borland.com 1180468384 207.105.83.66 (29 May 2007 12:53:04 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail