Date: Sun, 30 Aug 1998 19:03:08 +0300 (IDT) From: Eli Zaretskii To: Endlisnis cc: djgpp AT delorie DOT com Subject: Re: reading/writing to COM ports In-Reply-To: <35E9747E.B7AEDED7@unb.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 30 Aug 1998, Endlisnis wrote: > > FILE *com3 = fopen ("COM3", "wb"); > > and then use com3 as usual. > I'm quite sure that won't work, because I have a 'WinModem'. I've never been > able to get it to work from DOS. It doesn't use a standard address (like > 0x110 or something). It depends on how the device driver handles it. If DOS applications can use COM3, so will the above. But if it only shows itself to Windows programs, then the above won't work.