Correction, my last post was ambiguous: \\\\.\\com6 gives me "Device or resource busy", while all other com* give me "not existing". So, it is definitely better, it finds something! But do not yet works.
====> Opening and read/writing to COM6 with native win32 API (readfile etc) works well, both compiled with and without -mno-cygwin On Thu, May 29, 2008 at 6:52 PM, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Thu, May 29, 2008 at 05:15:00PM +0100, Dave Korn wrote: >>Giovanni Maruzzelli wrote on 29 May 2008 16:41: >> >>> Thanks a lot Dave! >>> >>> Seems that it is looking for a \Device\Serial5 >> >> Ouch. That's a problem. Not all serial devices use the same name format. > > So what format do they use? > >> Although it's not strictly supported, you might be able to work around it >>by using "\\\\.\\com6" instead. > > That is not likely to work with Cygwin. It won't recognize it as a serial > device. > > cgf > > -- > 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/