🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
6 messages
6 total messages Started by Safari Thu, 29 Jul 2004 19:58
InternetGetConnectedState, Remy.
#1768
Author: Safari
Date: Thu, 29 Jul 2004 19:58
6 lines
898 bytes
Hello Remy,
#include "Inet.lib"?
Please reanswer my question.

Thanks,
Safari
Re: InternetGetConnectedState, Remy.
#1769
Author: Remy Lebeau (TeamB)
Date: Fri, 30 Jul 2004 05:45
10 lines
1132 bytes
"Safari" <Safari@alloymail.com> wrote in message
news:4109956c@newsgroups.borland.com...

> #include "Inet.lib"?

No.  Use the IDE's "Add to Project" option.


Gambit
Re: InternetGetConnectedState, Remy.
#1770
Author: Remy Lebeau (TeamB)
Date: Fri, 30 Jul 2004 17:06
14 lines
1364 bytes
"Safari" <Safari@alloymail.com> wrote in message
news:410a7f0d@newsgroups.borland.com...

> How can i do this?

Go to the Project menu and use the "Add to Project" menu item, and then
specify the inet.lib file that is installed on your machine.  It is located
in the $BCB\lib folder, where $BCB is the folder where BCB is installed.

Have you really never used the "Add to Project" option before?


Gambit
Re: InternetGetConnectedState, Remy.
#1777
Author: Safari
Date: Tue, 03 Aug 2004 17:41
23 lines
1671 bytes
Thanks Remy,

How can i get a file with "WinInet"?
I need: MaxSizeFile, SizeReceive, SizeSent & ProxyServer.

Safari

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:410a7ff7$1@newsgroups.borland.com...
|
| "Safari" <Safari@alloymail.com> wrote in message
| news:410a7f0d@newsgroups.borland.com...
|
| > How can i do this?
|
| Go to the Project menu and use the "Add to Project" menu item, and then
| specify the inet.lib file that is installed on your machine.  It is
located
| in the $BCB\lib folder, where $BCB is the folder where BCB is installed.
|
| Have you really never used the "Add to Project" option before?
|
| Gambit
Re: InternetGetConnectedState, Remy.
#1778
Author: Remy Lebeau (TeamB)
Date: Tue, 03 Aug 2004 21:57
17 lines
1542 bytes
"Safari" <Safari@alloymail.com> wrote in message
news:41100681@newsgroups.borland.com...

> How can i get a file with "WinInet"?

Are you referring to Wininet.h?  You already have it, it ships with BCB, and
is located in BCB's Includes folder.  Look all you have to use is put
#include <Wininet.h> into your code and then add inet.lib to your project.
That is all you need in order to use the WinInet API functions.

> I need: MaxSizeFile, SizeReceive, SizeSent & ProxyServer.

What are you talking about now?


Ganbit
Re: InternetGetConnectedState, Remy.
#1632
Author: Safari
Date: Wed, 04 Aug 2004 20:42
20 lines
1514 bytes
Hello Remy,

1:
void __fastcall TMain::Button1Click(TObject *Sender)
{
   DWORD Flags = 0;
   Button1->Enabled = InternetGetConnectedState(&Flags, 0);
}

2: Project->Add to Project (Shift+F11)->...\Lib\Release\Inet.lib
3: Unsuccessful!

Error: Unresolved external 'InternetGetConnectedState' referenced from ...
Thanks,
Safari

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:41100a33$1@newsgroups.borland.com...
|
| Ganbit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads