🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

InternetGetConnectedState!

#1633
From: Safari
Date: Sun, 08 Aug 2004 20:15
36 lines
1528 bytes
Remy hello,

Unit DelToBCC; ------------------------------------------------
Interface
Uses Windows, WinInet;
Function GetConnect: Boolean;
Implementation

Function GetConnect: Boolean;
Var Posit: DWORD;
Begin
   Result := InternetGetConnectedState(@Posit, 0);
End;

End.
---------------------------------------------------------------
When i use this unit in my Delphi APP that correct
but i can't use this unit in my CBB APP!

#include "DelToBCC.hpp"
Error...!

#include "WinInet.hpp"
bool __fastcall GetConnect()
{
   DWORD Posit = 0;
   return InternetGetConnectedState(&Posit, 0);
}
Error...!

My Error is:
Unresolved external 'InternetGetConnectedState' referenced from
...MyFile.OBJ!

Thanks,
Safari
Technical Details
Message-ID: <4116b171@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

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,8ee56ac4afc53bd5,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Safari" <Safari@alloymail.com>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: InternetGetConnectedState!
Date: Mon, 9 Aug 2004 00:45:29 +0430
Lines: 40
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: 80.242.8.124
Message-ID: <4116b171@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1092006257 80.242.8.124 (8 Aug 2004 16:04:17 -0700)
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