delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/19/15:37:41

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
Date: Mon, 19 Apr 2004 21:37:11 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 2nd Try 1.57 on Win2k or WinXP. Not more than 16 com ports. Differences between //./comX and /dev/comX
Message-ID: <20040419193711.GA22404@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <C2F0FC2A5C4B3E44ADF4327E699486A509F529 AT mail2 DOT de DOT thorlabs DOT local>
Mime-Version: 1.0
In-Reply-To: <C2F0FC2A5C4B3E44ADF4327E699486A509F529@mail2.de.thorlabs.local>
User-Agent: Mutt/1.4.2i

On Apr 19 20:14, Lutz H?rl wrote:
> Hello,
> 
> thank you Dave, thank you Larry.
> 
> But unfortunately your advice to use "//./devX" did NOT solve the problem.

No, it can't.  When using the Win32 device names, the files are not
recognized as devices by Cygwin but instead they are treated like 
normal files.  If you want Cygwin support, you must use POSIX device
names.  If you want to access the serial interfaces using Win32 functions
anyway, I'd suggest to use Win32 functions throughout and not rely on
Cygwin.  This already begins with using CreateFile instead of open.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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