🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
7 messages
7 total messages Started by Safari Sun, 08 Aug 2004 20:15
InternetGetConnectedState!
#1633
Author: 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
Re: InternetGetConnectedState!
#1634
Author: Remy Lebeau (TeamB)
Date: Mon, 09 Aug 2004 01:13
12 lines
1182 bytes
"Safari" <Safari@alloymail.com> wrote in message
news:4116b171@newsgroups.borland.com...

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

I've already told you earlier how to get rid of that error.


Gambit
Re: InternetGetConnectedState!
#1635
Author: Safari
Date: Mon, 09 Aug 2004 01:20
18 lines
1407 bytes
Thanks Remy,
I add Inet.lib to my APP but retrun error to me again.

Safari

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:4116cf7f$1@newsgroups.borland.com...
|
| "Safari" <Safari@alloymail.com> wrote in message
| news:4116b171@newsgroups.borland.com...
|
| > My Error is:
| > Unresolved external 'InternetGetConnectedState' referenced from
| > ...MyFile.OBJ!
|
| I've already told you earlier how to get rid of that error.
|
| Gambit
Re: InternetGetConnectedState!
#1636
Author: Safari
Date: Mon, 09 Aug 2004 01:29
18 lines
1461 bytes
How can i check Internet connection without Indy?

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:4116cf7f$1@newsgroups.borland.com...
|
| "Safari" <Safari@alloymail.com> wrote in message
| news:4116b171@newsgroups.borland.com...
|
| > My Error is:
| > Unresolved external 'InternetGetConnectedState' referenced from
| > ...MyFile.OBJ!
|
| I've already told you earlier how to get rid of that error.
|
|
| Gambit
|
|
Re: InternetGetConnectedState!
#1637
Author: Remy Lebeau (TeamB)
Date: Mon, 09 Aug 2004 01:58
10 lines
1123 bytes
"Safari" <Safari@alloymail.com> wrote in message
news:4116d36a@newsgroups.borland.com...

> How can i check Internet connection without Indy?

You already know the answer to that.


Gambit
Re: InternetGetConnectedState!
#1638
Author: Remy Lebeau (TeamB)
Date: Mon, 09 Aug 2004 01:59
14 lines
1399 bytes
"Safari" <Safari@alloymail.com> wrote in message
news:4116d164$1@newsgroups.borland.com...

> I add Inet.lib to my APP but retrun error to me again.

Then you did not add it properly, otherwise you would not be getting the
error.  Please start over with a completely fresh project and try again.  If
you still have the problem, then please post the EXACT STEPS you are doing
to create and compile the project, because you have to be doing something
wrong.


Gambit
Re: InternetGetConnectedState!
#1639
Author: Safari
Date: Mon, 09 Aug 2004 13:59
18 lines
1348 bytes
Without WinInet, Example with WinSock.
Thanks,
Safari

"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:4116da15$1@newsgroups.borland.com...
|
| "Safari" <Safari@alloymail.com> wrote in message
| news:4116d36a@newsgroups.borland.com...
|
| > How can i check Internet connection without Indy?
|
| You already know the answer to that.
|
|
| Gambit
|
|
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