You're welcome, Gerry !
07 Янв 98 20:32, Gerry Danen -> Darin McBride:
DM>> Depends on your OS. For example, under Linux, OS/2, and likely
DM>> Win32, fopen would work. Under DOS, however, you need to either
DM>> get a com port library, learn how to use a FOSSIL, or learn how
DM>> to deal with the serial port on a low level (via
DM>> outportb/inportb).
GD> Not so. The following works just fine under DOS:
GD> void offhook( void )
GD> {
GD> FILE *port ;
GD> port = fopen( "COM1", "w" );
GD> fprintf( port, "ATM0H1\n" );
GD> fclose( port );
GD> }
And how can I get responses ?
Sincerely yours,
Aleksey
--- BUG TERMINATOR model 3.00.Alpha5+
---------------
* Origin: Если нельзя но очень хочется, то можно (2:467/66.33)
|