delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/30/12:03:48

Date: Sun, 30 Aug 1998 19:03:08 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Endlisnis <s257m AT unb DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: reading/writing to COM ports
In-Reply-To: <35E9747E.B7AEDED7@unb.ca>
Message-ID: <Pine.SUN.3.91.980830190202.20257D-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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