X-Spam-Check-By: sourceware.org Date: Thu, 24 Aug 2006 17:49:05 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: FW: Issue using regtool on a 64-bit Windows host Message-ID: <20060824154905.GB20467@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <86A3089001A44141B76B882059E7E53B01A608BF AT M31 DOT equallogic DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86A3089001A44141B76B882059E7E53B01A608BF@M31.equallogic.com> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Aug 24 11:26, Christopher Fay wrote: > I am writing a PERL script to verify registry entries on a 64-bit > Windows R2 system. It appears that when doing the regtool command > "regtool list /HKLM/SOFTWARE/..." regtool is actually looking at > "/HKLM/Software/Wow6432Node/...". I am unable to get the registry info > for /HKLM/SOFTWARE. Does anyone have any ideas for this? The registry access functions require an additional access flag KEY_WOW64_64KEY to be able to access the 64 bit registry view from a 32 bit application, and RegDeleteKey must be replaced by RegDeleteKeyEx on 64 bit systems. Neither of these are imlemented in regtool so far. http://cygwin.com/acronyms/#SHTDI http://cygwin.com/acronyms/#PTC http://cygwin.com/contrib.html Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/