Article View: borland.public.cppbuilder.nativeapi
Article #7754Re: Renaming a Registry Key and Value
From: Ali
Date: Sun, 26 Dec 2004 16:30
Date: Sun, 26 Dec 2004 16:30
20 lines
1497 bytes
1497 bytes
Hi;
#include "registry.hpp"
TRegistry *MyReg=new TRegistry();
MyReg->RootKey=HKEY_USERS;
MyReg->OpenKey("Ali",true);
MyReg->CreateKey("Hi");
delete MyReg;
<ali>
ali_info@hotpop.com
"Maurice Anderson" <mauriceanderson@hotmail.com> wrote in message
news:41cdc9c3$1@newsgroups.borland.com...
> Hello, I noticed that MSDN does not have a function to rename a registry
key
> or registry value. Does anyone know a simply way to do both? Any code
> examples would be highly appreciated. Thanks.
>
>
Technical Details
Message-ID:
<41cee70d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41cdc9c3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,38a4019495c05ce4 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ali" <ali_info@hotpop.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <41cdc9c3$1@newsgroups.borland.com> Subject: Re: Renaming a Registry Key and Value Date: Sun, 26 Dec 2004 20:00:40 +0330 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 62.60.157.37 Message-ID: <41cee70d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1104078605 62.60.157.37 (26 Dec 2004 08:30:05 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail