Dear All,
I just installed latest UniDAC version, and tried to rebuild my applications.
Unfortunately the linker complains with an error:
[ILINK32 Error] Error: Unresolved external 'WSAIoctl' referenced from C:\VCL\DEVART\LIB\DAC140.LIB|CRVioTcp
Same error in RAD 2010/XE/XE2, always C++, but if I add the ws2_32.lib library the app compiles. Unfortunately this addition breaks Atozed's Intraweb (12.2.x) !
Any Hint ?
Thanks
Claudio
UniDAC 4.3.8 C++ dependency issues
-
AndreyZ
Re: UniDAC 4.3.8 C++ dependency issues
Hello,
You found the correct solution.
The ws2_32.lib library is a standard library supplied with C++Builder. Please specify the exact way in what adding ws2_32.lib to your project breaks it.
You found the correct solution.
The ws2_32.lib library is a standard library supplied with C++Builder. Please specify the exact way in what adding ws2_32.lib to your project breaks it.
Re: UniDAC 4.3.8 C++ dependency issues
Andrej,
Thanks for fast reply, and some more detail:
XE and IW 11.0.58: no issues
XE2 and IW 12.2.8: no issues if linker uses runtime packages
XE2 and IW 12.2.8 with static linking fails immediatly with error "Cannot find internal file: IW_JS_QUERY"
So IW 12.2.8 dislike this dependency. If this will not be sorted out, please tell me what is the last usable release of UniDAC that does not need this library.
Thank you
Claudio
Thanks for fast reply, and some more detail:
XE and IW 11.0.58: no issues
XE2 and IW 12.2.8: no issues if linker uses runtime packages
XE2 and IW 12.2.8 with static linking fails immediatly with error "Cannot find internal file: IW_JS_QUERY"
So IW 12.2.8 dislike this dependency. If this will not be sorted out, please tell me what is the last usable release of UniDAC that does not need this library.
Thank you
Claudio
-
AndreyZ
Re: UniDAC 4.3.8 C++ dependency issues
I have checked this question using UniDAC 4.3.8 and Atozed's IntraWeb 12.2.8 in C++Builder XE2, and there were no problems regardless runtime packages were used or static linking. The IW_JS_QUERY file is seems to be (judging by its name) from Atozed IntraWeb, but Atozed IntraWeb does not contain this file or any links to it. Please check if your application has links to this file. Also, please try to reproduce this problem in a new application. If you can do this, please send this application to andreyz*devart*com .
Re: UniDAC 4.3.8 C++ dependency issues
The issue was related to Hotfix 4 (that I installed because of new UniDAC requirement), that in turn reverted IW12 in evaluation mode, and messed up all.
Deleted a ton of files, uninstalled and reinstalled IW and TMS components, now all ok.
Please, accept my apologies for this 'false positive'.
Claudio
Deleted a ton of files, uninstalled and reinstalled IW and TMS components, now all ok.
Please, accept my apologies for this 'false positive'.
Claudio
-
AndreyZ
Re: UniDAC 4.3.8 C++ dependency issues
It is good to see that you have found a solution. If any other questions come up, please contact us.
Please note that UniDAC requires RAD Studio Update 4 Hotfix 1 because even update versions and Hotfix 1 of RAD Studio XE2 are not compatible with previous updates. We cannot influence this.
Please note that UniDAC requires RAD Studio Update 4 Hotfix 1 because even update versions and Hotfix 1 of RAD Studio XE2 are not compatible with previous updates. We cannot influence this.