🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Restore the part of registry

#17386
From: Vladimir Afanasyev
Date: Wed, 26 Mar 2003 10:44
16 lines
1409 bytes
Hi,

"Onur Ekal" <onurekal@hotmail.com> wrote:
>I can backup a part of registry with that code in win2000/Xp on NTFS
>(BCB6), with necessary permission, but I can't restore it.I tried
>loadkey,restorekey, regrestorekey,
>regloadkey, but I Can't. Please help about code...
>

I did not try to do it.
But I am sure. If you set SE_BACKUP_NAME for registry backup 
you need to set SE_RESTORE_NAME for restoring registry.
SE_RESTORE_NAME  - defined in winnt.h.

Vladimir.
Technical Details
Message-ID: <3e818484$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e80a6f8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c49df41e5bfaab5f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-26 02:47:47 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: Restore the part of registry
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.244.14.114 62.244.14.114    
X-Forwarded-For: 192.168.0.147
References:  <3e80a6f8@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3e818484$1@newsgroups.borland.com>
Date: 26 Mar 2003 02:44:20 -0800
X-Trace: newsgroups.borland.com 1048675460 207.105.83.65 (26 Mar 2003 02:44:20 -0800)
Lines: 16
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail