delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/24/06:53:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_80,HK_OBFDOM
X-Spam-Check-By: sourceware.org
From: "DEWI - N. Zacharias" <N DOT Zacharias AT dewi DOT de>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Wed, 24 Mar 2010 12:52:55 +0100
Subject: Very strange things happen
Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E602DBF1393D@server03>
References: <288482661 DOT 5731269425114860 DOT JavaMail DOT root AT fqdn> <4BA9EFF9 DOT 70403 AT sbcglobal DOT net>
In-Reply-To: <4BA9EFF9.70403@sbcglobal.net>
MIME-Version: 1.0
X-CheckCompat: OK
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


Hi All,

To read the content of a registry key  I use :

my $ww =3D IO::File->new("< /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/shbo=
x/freepdfxp/fpDir");
my $Reg_FreePdf_Path =3D <$ww>;
$ww->close();

It works but a subsequent call  system("cd /cydrive/c/whatever")  crashes w=
ith a core dump.

The strange thing is that if I  use another key it works it don=92t crash

The key which works is:
 /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Office/12.0//Word/Ins=
tallRoot/Path (Reg_SZ)

But if I use
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/shbox/freepdfxp/fpDir  (Reg_SZ)

Do some one has an idea whats going wrong here ??

Have a nice time
Norbert




--------------------------------------------------------------------------
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:    +49 4421 4808 843


Email:  N DOT Zacharias AT dewi DOT de
Home:   http://http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels K=E4mpny

P Please consider the environment before printing this email.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019