TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DARIN MCBRIDE
from: GERRY DANEN
date: 1998-01-11 18:59:00
subject: sending AT commands

 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>   }
 DM> I'm not sure - I tried it with various compilers, not all of them
 DM> liked it. It worked in some situations, not others. Other OS's,
 DM> however, force support of this method.
I use Microsoft C++ v8.
Gerry Danen (gdanen@connect.ab.ca) C+Net BBS @ 403-477-9545
            http://www.geocities.com/SiliconValley/Way/9823
1 year, 354 days, 5 hours, 12 minutes, and 45 seconds until January 1, 2000.
--- Maximus 3.01
---------------
* Origin: C+Net BBS. Programming & Networking. (1:342/601)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.