Page 1 of 1

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

Posted: Fri 28 Dec 2012 13:25
by zat
[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.

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

Posted: Mon 04 Feb 2013 15:56
by Dimon
Thank you for information. We have reproduced this problem and fixed it. This fix is included in the latest SecureBridge build (5.5.1).

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

Posted: Mon 11 Feb 2013 13:17
by harrii
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

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

Posted: Thu 14 Feb 2013 13:53
by Dimon
Your fix is correct.

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

Posted: Thu 14 Feb 2013 13:53
by Dimon
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next SecureBridge build.