Getting out of DUNConnect Wait
Keywords: DUNConnect DUNDisconnect
Question:
I'm using WinBatch to automate a DUN connection and logon process, using one script to make the connection and another to monitor it and take care of the terminal window. The problem is that I need the second script to be able to cancel the connection, as DUNConnect does not return until the entire logon process is complete.I can use DUNDisconnect(0) in the monitoring script, which hangs up the modem, but the other script will not close with anything except Ctrl-Alt-Del (I tried IntControl 47 to no avail).
Why is it doing this, and is there anything I can do about it?
Answer:
Maybe try Ctrl-Break.The DUN functions were not really designed to be shot by another script.
You may wish to try the alternate version that does not use DunConnect.
See Article ID: W13291
Article ID: W12626Filename: Getting out of DunConnect Wait.txt