BCB6 generated header problem

Giganews Newsgroups
Subject: BCB6 generated header problem
Posted by:  andr…@wxhjhuhsjdfbn23.com
Date: Wed, 27 Oct 2004

Hello,

I've successfully compiled Indy10 packages on C++Builder 6 but when I
try to compile a simple application BCB stops on errors from the
IdWinSock2.hpp (generated) header . How can I fix this ?

thank you

Andrew

------------IdWinSock2.hpp---------------------

[...]
typedef TWSAProtocol_InfoW *LPWSAProtocol_InfoW;
[...]
typedef int __stdcall (*TWSAEnumProtocolsAProc)(System::PInteger
lpiProtocols, PWSAProtocol_InfoA lpProtocolBuffer, unsigned
&lpdwBufferLength);
[...]

------------IdWinSock2.hpp---------------------

[C++ Error] IdWinSock2.hpp(370): E2257 , expected
[C++ Error] IdWinSock2.hpp(726): E2303 Type name expected

[...]
[C++ Error] IdWinSock2.hpp(728): E2303 Type name expected
[C++ Error] IdWinSock2.hpp(730): E2303 Type name expected
[C++ Error] IdWinSock2.hpp(744): E2303 Type name expected
[C++ Error] IdWinSock2.hpp(746): E2303 Type name expected
[C++ Error] IdWinSock2.hpp(748): E2303 Type name expected
[C++ Error] IdWinSock2.hpp(780): E2303 Type name expected
[C++ Error] IdWinSock2.hpp(782): E2303 Type name expected
[C++ Error] IdWinSock2.hpp(784): E2303 Type name expected
[C++ Error] IdWinSock2.hpp(788): E2293 ) expected
[C++ Error] IdWinSock2.hpp(790): E2293 ) expected
[C++ Error] IdWinSock2.hpp(792): E2293 ) expected
[C++ Error] IdWinSock2.hpp(794): E2293 ) expected
[C++ Error] IdWinSock2.hpp(796): E2293 ) expected
[C++ Error] IdWinSock2.hpp(798): E2293 ) expected
[C++ Error] IdWinSock2.hpp(1954): E2303 Type name expected

Replies