delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/06/13:13:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
MIME-Version: 1.0
Subject: RE: CygPath to Clipboard (was: example needed pls ...)
Date: Sun, 6 Jul 2003 10:14:23 -0700
Message-ID: <BF653A78FF4ED0468924C8721AC5EAE703AA4C8F@df-muttley.dogfood>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Stephan Mueller" <smueller AT Exchange DOT Microsoft DOT com>
To: "Soren A." <somian AT adelphia DOT net>, <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 06 Jul 2003 17:13:32.0467 (UTC) FILETIME=[ED504830:01C343E1]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h66HDlY22915

Looks like it's the hex-encoded representation of some Unicode text
(each character is a 16-bit entity).  For plain ASCII values (e.g.
English text), yes, you'll see every other byte as a zero.

stephan();



-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Soren A.
Sent: Sunday, July 06, 2003 12:08 AM
To: cygwin AT cygwin DOT com
Subject: Re: CygPath to Clipboard (was: example needed pls ...)


Yes, a bit OT, but could be useful to understand more about it...

Soren A <somian AT adelphia DOT net> wrote in
news:Xns93ACAEA0E9DBEsoren1Gmane AT 80 DOT 91 DOT 224 DOT 249:
> I cannot get the Registry to accept the entries now! Each time I try I

> get the keys created OK, but the "command" is undefined (I am writing 
> of how we see the Registry in "regedit").

Still no joy. On a WinXP system (the other I refer to is Win98) I used
the regedit tool to look at some REG_EXPAND_SZ entries already in the
Registry, and exported a key for examination. What I discover if I do
this seems *BIZARRE* (but we are talking about Microsoft here so nothing
ought to surprise us). I see the string of hex bytes exported as we have
been discussing, but each one _is followed by a null byte_. Thus one
entry I examined looks like this:

 
"TEMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,0
0,74,\  
  00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00

Do you see what I mean? "25,00,53,00,79,00: ... . If *that's* the format
RegEdit expects (and it could have changed between 98 and XP, anyone
know?) then it would certainly explain why I haven't been able to get
any subsequent tries to work.

Even the terminating null is followed by a null.

Now I am scratching my head so hard my hairline is imperiled...

   Soren A.

-- 
"So, tell me, my little one-eyed one, on what poor, pitiful, defenseless
planet has my MONSTROSITY been unleashed?"
                       - Dr. Jumba, Disney's "Lilo & Stitch" OpenPGP Key
at http://savannah.gnu.org/people/viewgpg.php?user_id=6050



--
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/


--
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/

- Raw text -


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