[comp.windows.ms.programmer] Windows..programming... comm ports

fac7@dayton.saic.com (Steven Poling) (04/24/91)

OK.... here's the question of the day....

I have a Windows 3.0 Communcations package I am writing and I need to hang the
modem up after the communications session has ended.  Using a MultiTech 9600
Baud v.32 modem I get the attention of the modem by sending three plus signs
and then an "ATH0<CR>" and the connection is terminated.

The problem:
When I use a normal 2400 baud modem to make the connection, I still get the 
modems attention, but when I send the modem the "ATH0<CR>" I get no 
response from the modem and the line does not hang up.  

Side light: Does anyone know how to drop DTR on a com port in Windows????

Any help is appreciated very much..... Steven Poling


-- 
_____________________________________________________________________________
               ____ ____    ___
Steven Poling /___ /___/ / /     Science Applications International Corporation
             ____//   / / /__                 Dayton, Ohio
-----------------------------------------------------------------------------
Internet: fac7@dayton.saic.com    uucp: dayvb!fac7

hans@pine.circa.ufl.edu (Hans van Oostrom) (04/25/91)

In article <1991Apr24.113819.1583@dayton.saic.com>, fac7@dayton.saic.com (Steven Poling) writes...
>Side light: Does anyone know how to drop DTR on a com port in Windows????
> 

Check out the EscapeCommFunction

Hans van Oostrom
PO Box J-254, JHMHC                 hans@ufpine                (BITNET)
Gainesville, FL  32601, USA         hans@pine.circa.ufl.edu    (INTERNET)
>>>          Hoe ver je ook gaat, overal zie je landgenoten           <<<

stergios@portia.Stanford.EDU (Stergios) (04/26/91)

Can anyone recommend a serial board with, say 8 or so ports, that
comes with a windows 3 driver?

thanks

sm