Compile error with CBuilder XE2 Upd4 HFix1 and SB 5.0.1 and 5.0.2

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
zat
Posts: 23
Joined: Tue 21 Jun 2011 13:08

Compile error with CBuilder XE2 Upd4 HFix1 and SB 5.0.1 and 5.0.2

Post by zat » Fri 28 Dec 2012 13:25

[ILINK32 Error] Error: Unresolved external 'WSAIoctl' referenced from C:\PROGRAM FILES\EMBARCADERO\RAD STUDIO\9.0\LIB\WIN32\RELEASE\SBRIDGE160.LIB|ScCLRSocket
[ILINK32 Error] Error: Unable to perform link
Failed

Now only when add to project, library file ws2_32.lib, then compile without error.

Thanks.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Compile error with CBuilder XE2 Upd4 HFix1 and SB 5.0.1 and 5.0.2

Post by Dimon » Mon 04 Feb 2013 15:56

Thank you for information. We have reproduced this problem and fixed it. This fix is included in the latest SecureBridge build (5.5.1).

harrii
Posts: 5
Joined: Thu 10 Jan 2013 08:39

Re: Compile error with CBuilder XE2 Upd4 HFix1 and SB 5.0.1 and 5.0.2

Post by harrii » Mon 11 Feb 2013 13:17

This fix caused me the following compile error:

[bcc32 Error] ws2tcpip.h(691): E2015 Ambiguity between '__stdcall WSAIoctl(unsigned int,unsigned long,void *,unsigned long,void *,unsigned long,unsigned long *,_OVERLAPPED *,void (__stdcall *)(unsigned long,unsigned long,_OVERLAPPED *,unsigned long))' and 'Scutils::WSAIoctl'


However, I managed to solve the problem with the following define:
#define NO_USING_NAMESPACE_SCUTILS

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Compile error with CBuilder XE2 Upd4 HFix1 and SB 5.0.1 and 5.0.2

Post by Dimon » Thu 14 Feb 2013 13:53

Your fix is correct.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Compile error with CBuilder XE2 Upd4 HFix1 and SB 5.0.1 and 5.0.2

Post by Dimon » Thu 14 Feb 2013 13:53

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next SecureBridge build.

Post Reply