🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5030

Re: How to get default dial-up connection

#5030
From: Remy Lebeau (TeamB)
Date: Tue, 01 Nov 2005 17:19
14 lines
1368 bytes
"Martin Nijhoff" <dont@mail.me> wrote in message
news:43678a5b$1@newsgroups.borland.com...

> How do I retrieve the name of the default dial-up connection.
> Is there an API call that works on both Win9x and WinXP?

There is no "default" connection.  But you can use RasEnumConnection() to
detect an existing connection, and RasEnumEntries() and
RasGetEntryDialParams() to loop through the available connection
configurations.


Gambit
Technical Details
Message-ID: <4367a3a3$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeder.wxs.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43678a5b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,18b0953a80e27c85
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43678a5b$1@newsgroups.borland.com>
Subject: Re: How to get default dial-up connection
Date: Tue, 1 Nov 2005 09:19:35 -0800
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4367a3a3$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130865571 68.69.17.41 (1 Nov 2005 09:19:31 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeder.wxs.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail