🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: InternetGetConnectedState

#1763
From: Safari
Date: Sun, 25 Jul 2004 14:17
31 lines
1739 bytes
bool __fastcall GetOnline()
{
   DWORD Flag = 0;
   return InternetGetConnectedState(&Flag, 0);
}

void __fastcall TMain::Button1Click(TObject *Sender)
{
   Button1->Enabled = GetOnline();
}

[Liner Error] Unresolved external 'InternetGetConnectedState'
referenced from C:\PROGRAM FILES\CBUILDER\PROJECTS\MYFILE.OBJ

Thanks again,
Safari

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:4101f0cf$1@newsgroups.borland.com...
|
| "Safari" <Safari@alloymail.com> wrote in message
| news:41019b63@newsgroups.borland.com...
|
| > Error...!
|
| Once again, I have to ask you to please always specify the actual errors.
| Just saying that there are errors without explaining what they actually
are
| is not very helpful.
|
| Gambit
Technical Details
Message-ID: <41041879@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!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> <41019b63@newsgroups.borland.com> <4101f0cf$1@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: "Safari" <Safari@alloymail.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <41005838@newsgroups.borland.com> <4100849c@newsgroups.borland.com> <41019b63@newsgroups.borland.com> <4101f0cf$1@newsgroups.borland.com>
Subject: Re: InternetGetConnectedState
Date: Sun, 25 Jul 2004 18:47:41 +0430
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 81.28.44.84
Message-ID: <41041879@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090787449 81.28.44.84 (25 Jul 2004 13:30:49 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail