Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dropping Internal Modem Calls
Message
From
25/10/2002 05:28:55
 
 
To
18/10/2002 10:35:35
Tim Royall
Data & Information Technology Ltd
Bottesford, United Kingdom
General information
Forum:
Windows
Category:
Hardware
Miscellaneous
Thread ID:
00712874
Message ID:
00715319
Views:
9
>I'm trying to write a VB app that establishes a modem call (using an internal PC modem) for simple COM port serial communications (not dial-up networking). Once the call is established I want to pass the established comms link to another application program (a program which uses simple serial COM port traffic but is not modem-aware). It appears that when my front-end program drops the COM port to the internal modem in order to launch the target application the call is automatically cleared - presumably Windows detects that, for a brief moment, no application program is connected to that COM port and forces the modem to clear down.
>
>Does anyone know how to prevent Windows from taking control of the modem. I have tried instructing the modem (via AT commands) to ignore DTR (assume ON), but it seems to make no difference, although this technique does work for an external modem.

Persist the owning app and then share the handle to the modem session is the only thing, short of creating a COM component to virtualize the modem interface.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform