Elevate Software Logo

Contacts | Partners | Links





Technical Support

Home > Technical Support > Technical Bulletins > View Technical Bulletin




Using DBISAM and Indy Components in Same C++Builder Project Can Cause Compiler Errors

When compiling a C++Builder project using both Indy and DBISAM, you may experience compiler errors like the following:

[C++ Error] winsock2.h(109): E2238 Multiple declaration for 'fd_set'
[C++ Error] winsock.h(54): E2344 Earlier declaration of 'fd_set'


The winsock2.h header file is included by the Indy components and is based on Winsock 2.2. The winsock.h header file is included by DBISAM and is based on the Winsock 1.0.

The solution is to add the following conditional define to your project:

_WINSOCKAPI_

Thanks to Royce Ressenden for reporting and finding the solution to this issue.





Related Pages

Option Frequently Asked Questions

Option Newsgroups (Web)

Option Newsgroups (News Server)

Option Incident Reports

Option Product Manuals






This web page was last updated on
Saturday, April 14, 2007 at 03:47 PM

Valid HTML 4.01!  Valid CSS!


Privacy Policy

© 2008 Elevate Software, Inc. All Rights Reserved
Questions or comments ? E-mail us at info@elevatesoft.com