Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!mvb.saic.com!dayton.saic.com!fac7 From: fac7@dayton.saic.com (Steven Poling) Newsgroups: comp.windows.ms.programmer Subject: Modem Hangup from inside Win 3.0 App Message-ID: <1991May22.183530.1627@dayton.saic.com> Date: 22 May 91 22:35:30 GMT Organization: Science Applications Intl. Corp., Dayton, Ohio Lines: 22 I am writing a Windows 3.0 application that is utilizing a modem to access a database system, download data and then terminating the connection. I can not get the application to hang up the modem after the data transfer is complete. I need a way to drop DTR from inside the Windows application. If anyone has experienced this problem and has a way to do it, I would be most thankful. I have tried to get the modem attention by send +++ and waiting for the string OK, but on a 2400 baud modem this does not seem to work. I have had success with this method on a MultiTech 9600 baud modem, but don't have a clue why it wouldn't work on the 2400 baud modem. Thanks Again (In advance) -- _____________________________________________________________________________ ____ ____ ___ Steven Poling /___ /___/ / / Science Applications International Corporation ____// / / /__ Dayton, Ohio ----------------------------------------------------------------------------- Internet: fac7@dayton.saic.com uucp: dayvb!fac7