 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sam Guest
|
Posted: Thu Dec 29, 2005 6:30 pm Post subject: Default dialup connection |
|
|
I can get a list of the dialup connection using RASDIALPARAMS but how do
I find out which is set as the default?
Thanks in advance.
Sam
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Dec 29, 2005 7:50 pm Post subject: Re: Default dialup connection |
|
|
"Sam" <Sam75Perkins (AT) abc (DOT) com> wrote
| Quote: | I can get a list of the dialup connection using RASDIALPARAMS
|
I am assuming that you are using RasEnumEntries() and
RasGetEntryDialParams(), correct?
| Quote: | but how do I find out which is set as the default?
|
Under Win9x/ME, you'll have to look in the Registry manually. On my Win98SE
machine, my default connection is listed here:
HKEY_CURRENT_USERRemoteAccess
"InternetProfile"="The Entry Name"
Under NT/2K/XP/2K3, you can use RasGetAutodialAddress(), specifying NULL for
the lpszAddress parameter.
Gambit
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|