🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
4 messages
4 total messages Started by M. Malagoli Sat, 04 Aug 2007 07:46
C++B2006 compiler error indy 10
#858
Author: M. Malagoli
Date: Sat, 04 Aug 2007 07:46
11 lines
1155 bytes
Hi,
after install Indy10 in CB2006 i try to compile a sample application and i
get an error
[C++ Error] Idwinsock2.hpp(220): E2257 , expected
corresponding to line
typedef WSANAMESPACE_INFOEXW TWSANameSpace_InfoExW;
and some other error of the same type
Indy 10 is the last from developer snapshot

thanks for any suggestion
Mirco
Re: C++B2006 compiler error indy 10
#859
Author: Remy Lebeau (TeamB)
Date: Sat, 04 Aug 2007 08:44
17 lines
1453 bytes
"M. Malagoli" <m.malagoli@matx.it> wrote in message
news:46b42eb9$1@newsgroups.borland.com...

> after install Indy10 in CB2006 i try to compile a sample application
> and i get an error
> [C++ Error] Idwinsock2.hpp(220): E2257 , expected
> corresponding to line
> typedef WSANAMESPACE_INFOEXW TWSANameSpace_InfoExW;

Sounds like maybe you don't have an up-to-date winsock2.h header file from
Microsoft.  The WSANAMESPACE_INFOEXW structure ws introduced in Windows
Vista, so it likely didn't exist yet when BDS 2006 was released, or CodeGear
did not ship with the latest Platform SDK at the time.


Gambit
Re: C++B2006 compiler error indy 10
#893
Author: M. Malagoli
Date: Thu, 16 Aug 2007 08:26
25 lines
1791 bytes
thanks,
there is a place to download this upgrade?

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> ha scritto nel messaggio 
news:46b43dfb$1@newsgroups.borland.com...
>
> "M. Malagoli" <m.malagoli@matx.it> wrote in message
> news:46b42eb9$1@newsgroups.borland.com...
>
>> after install Indy10 in CB2006 i try to compile a sample application
>> and i get an error
>> [C++ Error] Idwinsock2.hpp(220): E2257 , expected
>> corresponding to line
>> typedef WSANAMESPACE_INFOEXW TWSANameSpace_InfoExW;
>
> Sounds like maybe you don't have an up-to-date winsock2.h header file from
> Microsoft.  The WSANAMESPACE_INFOEXW structure ws introduced in Windows
> Vista, so it likely didn't exist yet when BDS 2006 was released, or 
> CodeGear
> did not ship with the latest Platform SDK at the time.
>
>
> Gambit
>
> 
Re: C++B2006 compiler error indy 10
#895
Author: Remy Lebeau (TeamB)
Date: Thu, 16 Aug 2007 17:24
16 lines
1355 bytes
"M. Malagoli" <m.malagoli@matx.it> wrote in message
news:46b42eb9$1@newsgroups.borland.com...

> after install Indy10 in CB2006 i try to compile a sample application
> and i get an error
> [C++ Error] Idwinsock2.hpp(220): E2257 , expected
> corresponding to line
> typedef WSANAMESPACE_INFOEXW TWSANameSpace_InfoExW;
> and some other error of the same type

This has now been addressed.  The typedefs for all of the WinSock structures
will no longer be produced in IdWinSock2.hpp and IdWship6.hpp.


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