DUN Rasdial disconnecting issue
Posted on 2004-03-23
I made an application that uses the RasApi to stablish a Dial-up connection with a local ISP. Everything works like a charm except I can't "cancel" the connection.
While it is dialing and authentificating there is a cancel button in my form, if the user click on it I call rashangup to cancel the connection with a loop to check for the "disconnected" error (6).
This works fine, but the connection never gets disconnected.
I have no clue what the problem might be.