I’ve finally made the switch from C++ Builder 6 to Rad Studio 2010, and am 
going through migration heck.
 
I’m trying to recompile one of my apps, and for some reason it is loading both 
winsock.h and ws2defh.
 
I’m running Windows 7 on a 64-bit machine, if that matters.
 
Here’s the error I get:
 
[BCC32 Error] ws2def.h(213): E2238 Multiple declaration for 'sockaddr'
[BCC32 Error] winsock.h(486): E2344 Earlier declaration of 'sockaddr'
[BCC32 Error] ws2def.h(222): E2146 Need an identifier to declare
[BCC32 Error] ws2def.h(391): E2184 Enum syntax error
[BCC32 Error] ws2def.h(444): E2040 Declaration terminated incorrectly
 
(and many more).
 
Does anyone have any ideas as to why it’s loading both winsock 2 and winsock.h?
 
Thanks for any help you can give.  I’m pulling my hair out here.
 
Cheers,
Ian

The information contained in this e-mail message, and any attachment 
thereto, is confidential and may not be disclosed without our express 
permission. If you are not the intended recipient or an employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that you have received this message in error 
and that any review, dissemination, distribution or copying of this 
message, or any attachment thereto, in whole or in part, is strictly 
prohibited. If you have received this message in error, please 
immediately notify us by telephone, fax or e-mail and delete the message 
and all of its attachments. Thank you. Every effort is made to keep 
our network free from viruses. You should, however, review this e-mail 
message, as well as any attachment thereto, for viruses. We take no 
responsibility and have no liability for any computer virus which may be 
transferred via this e-mail message. 
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to