🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to display disconnect dialog

#5070
From: Martin Nijhoff
Date: Mon, 07 Nov 2005 13:59
26 lines
1891 bytes
> Did you look here?
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/wininet_functions.asp?frame=true
> http://tinyurl.com/dy4g7

Yes, I did.

> Or here?
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/establishing_a_dial_up_connection_to_the_internet.asp?frame=true
> http://tinyurl.com/dl6fz

Yes.

> I don't know if any of them display that dialog.

That was my question.

InternetHangUp() requires a connection number, which implies that it can
only be used in combination with InternetDial(). As far as I know,
InternetAutodialHangup() can only be used in combination with
InternetAutodial().

I need to disconnect a connection that was set-up by
InternetAttemptConnect(). That's why I use RASEnumConnections() and
RASHangUp(). However, RASHangUp() doesn't display the disconnect dialog.
Technical Details
Message-ID: <436f5e02$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!212.20.144.77.MISMATCH!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <436b3739@newsgroups.borland.com> <qg4nm1164149tfoemkgtmb1i06en04vig1@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,15770f5d8bd0825c
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Martin Nijhoff" <dont@mail.me>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <436b3739@newsgroups.borland.com> <qg4nm1164149tfoemkgtmb1i06en04vig1@4ax.com>
Subject: Re: How to display disconnect dialog
Date: Mon, 7 Nov 2005 14:59:58 +0100
Lines: 28
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: 80.100.129.158
Message-ID: <436f5e02$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131372034 80.100.129.158 (7 Nov 2005 06:00:34 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!212.20.144.77.MISMATCH!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail