Get connection moment...

Wohl das A & O in der Windows-Programmierung

Moderatoren: crack, Marwin, Krüsty

Beitragvon Ignat » Samstag 16. August 2003, 20:55

One small question... :)
How to get the moment when computer try to connect to Internet?
And after it get the options of connection?
I mean user name, phone number...
If the ship don't know where to go - it has no fair wind...
Alter Hase
Beiträge: 80
Registriert: Samstag 2. August 2003, 11:13

Beitragvon butterkeks » Sonntag 17. August 2003, 13:52

I usually do this with a timer, that frequently calls the "InternetGetConnectedState" function, though it lacks performance.
Maybe theres a way to install a system wide hook for notification, but as I said, I never tried it...
...Signatur?<br>Was ist das denn schon wieder?
Beiträge: 15
Registriert: Mittwoch 13. August 2003, 20:24
Wohnort: Düren, kennste eh nich'...

Zurück zu Windows-API

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder