🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1756

Re: InternetGetConnectedState

#1756
From: Safari
Date: Fri, 23 Jul 2004 21:23
26 lines
1497 bytes
Thanks Remy,
Safari

Remy Lebeau (TeamB) wrote:
> "Safari" <Safari@alloymail.com> wrote in message
> news:41005838@newsgroups.borland.com...
> 
> 
>>Error...!
> 
> 
> For future reference, please always specify what the errors actually are.
> 
> 
>>   WORD Flags;
>>   return InternetGetConnectedState(Flags, 0);
> 
> 
> InternetGetConnectedState() expects a pointer for the first parameter.  Use
> the '&' operator for that, ie:
> 
>     WORD Flags = 0;
>     return InternetGetConnectedState(&Flags, 0);
> 
> Gambit
Technical Details
Message-ID: <410181af@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41005838@newsgroups.borland.com> <4100849c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,74f413f32f31e826
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 24 Jul 2004 01:53:27 +0430
From: Safari <Safari@alloymail.com>
User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: InternetGetConnectedState
References: <41005838@newsgroups.borland.com> <4100849c@newsgroups.borland.com>
In-Reply-To: <4100849c@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.28.33.77
Message-ID: <410181af@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090617775 81.28.33.77 (23 Jul 2004 14:22:55 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail