Article View: borland.public.cppbuilder.nativeapi
Article #8322Re: Win98 and XP Registry Problem
From: Remy Lebeau (TeamB)
Date: Fri, 12 Nov 2004 08:47
Date: Fri, 12 Nov 2004 08:47
22 lines
1613 bytes
1613 bytes
"Pedram" <Pedram@Internet.Network> wrote in message
news:419473da@newsgroups.borland.com...
> if(Reg->OpenKey("\\Software", true )){
You should be writing to your own key, not to the "Software" key directly:
if(Reg->OpenKey("\\Software\\My Key Here", true )){
> This code is not functioning in WinXP :-\
As well it shouldn't. The "Software" key is protected.
> I dont know why its not portable but I guess its
> because there is a (dot) .DEFAULT in WinXP
> Registry system.
That has nothing to do with it.
Gambit
Technical Details
Message-ID:
<4194784d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!news.cambrium.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<419473da@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,58f5ac2b1afa125c X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <419473da@newsgroups.borland.com> Subject: Re: Win98 and XP Registry Problem Date: Fri, 12 Nov 2004 00:47:44 -0800 Lines: 24 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: 68.69.17.41 Message-ID: <4194784d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100249165 68.69.17.41 (12 Nov 2004 00:46:05 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!news.cambrium.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail