[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.
Compile error with CBuilder XE2 Upd4 HFix1 and SB 5.0.1 and 5.0.2
Re: Compile error with CBuilder XE2 Upd4 HFix1 and SB 5.0.1 and 5.0.2
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
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
[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
Your fix is correct.
Re: Compile error with CBuilder XE2 Upd4 HFix1 and SB 5.0.1 and 5.0.2
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next SecureBridge build.