Article View: borland.public.cppbuilder.nativeapi
Article #9965Re: Registry Key: Access denied
From: Mark Jacobs
Date: Tue, 01 Jun 2004 13:50
Date: Tue, 01 Jun 2004 13:50
18 lines
1821 bytes
1821 bytes
"Arnie Mauer" <xxx@nowhere.net> wrote in message news:40b76391$1@newsgroups.borland.com... > Hmmm. That's interesting. It might account for the sporadic nature > of the problem. The servers, though, are 2003. Do you know of any > way to determine if the XP bug is also in 2003? 2003 server is XP acting as a server (for all intents and purposes). My advice is to try something simple. Try to open the registry file, and if that succeeds, go for it. If it fails, wait 5 seconds, and then try again. Here is the command you should use (assuming TRegistry object Registry1 exists):- if (Registry1->RegistryConnect(NULL)) then bingo!!! else it couldn't open the local registry. HTH -- Mark Jacobs DK Computing http://www.dkcomputing.co.uk markj atty critical dotty co dotty uk
Technical Details
Message-ID:
<40bc897a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40b64964$1@newsgroups.borland.com> <40b7371e@newsgroups.borland.com> <40b76391$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9c8720aca2773caf X-Google-Attributes: gid10cc67,public Reply-To: "Mark Jacobs" <markj atty critical dotty co dotty uk> From: "Mark Jacobs" <markj atty critical dotty co dotty uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <40b64964$1@newsgroups.borland.com> <40b7371e@newsgroups.borland.com> <40b76391$1@newsgroups.borland.com> Subject: Re: Registry Key: Access denied Date: Tue, 1 Jun 2004 14:50:00 +0100 Lines: 20 Organization: DK Computing 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: 81.144.157.8 Message-ID: <40bc897a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1086097786 81.144.157.8 (1 Jun 2004 06:49:46 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail