🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: InternetGetConnectedState

#1750
From: Remy Lebeau (TeamB)
Date: Fri, 23 Jul 2004 03:24
19 lines
1350 bytes
"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: <4100849c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41005838@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
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <41005838@newsgroups.borland.com>
Subject: Re: InternetGetConnectedState
Date: Thu, 22 Jul 2004 20:24:12 -0700
Lines: 21
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: <4100849c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090552988 68.69.17.41 (22 Jul 2004 20:23:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail