Link to home
Create AccountLog in
Avatar of CodedK
CodedKFlag for Greece

asked on

Disconnect dial up. No components, without dialing first.

Hi.

Well the title says it all.
I have the code that will make a connection disconnect.
Is it possible to disconnect the dialup connection without dialing from the application ?

I have an app that is something like a timer to terminate a connection at a given time.
Something like GetRight does when the download finish.
Well GetRight doesnt need to call first so it can disconnect later...
Is it possible to code this in Delphi?

(No components, no dialing first).

Thanks in advance. Any answer is greatly appreciated.
SOLUTION
Avatar of Russell Libby
Russell Libby
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of CodedK

ASKER

Thank u very much Russell...
I'll give it a try tommorow.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of CodedK

ASKER

Thanks very much you reduced by job at half.
Russell provided first a good working code :/,

But i dont think that russell would mind if i split the points. :)
Thanks both.

P.S Mhamini this would be your first points :).