Article View: borland.public.cppbuilder.nativeapi
Article #7632Registry in WinXP
From: Grety
Date: Tue, 18 Jan 2005 09:48
Date: Tue, 18 Jan 2005 09:48
19 lines
1318 bytes
1318 bytes
Hi
Can I have some very easy and simple code about Regisrty Already work in
WinXP?
The code below is working in Win98 but XP !!!!
//Not Tested
#include "registry.hpp"
TRigistry *MyReg=new TRegistry();
MyReg->RootKey=HKey_Local_Machine;
MyReg->OpenKey("Software\\TheKey");
MyReg->WriteString("MyStr",true);
MyReg->CloseKey();
delete MyReg;
The Codes are working in Win98 but its not responding / functioning in Win98
or NT systems
there is a .default :-\
please guide me thx
Technical Details
Message-ID:
<41ecdb87@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,26d4cbfcdfdcb29b,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Grety" <valid@emailaddress.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Registry in WinXP Date: Tue, 18 Jan 2005 13:18:54 +0330 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2479.0006 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 NNTP-Posting-Host: 62.60.157.36 Message-ID: <41ecdb87@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1106041735 62.60.157.36 (18 Jan 2005 01:48:55 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail