Page 1 of 1
Linker Error ScSFTPServer without using it
Posted: Thu 30 Jun 2016 07:59
by Almer
Hello, I've download trial version of securebridge, I need to create messaging system using SSH and Secure Bridge seems like best solution (better the other two competitors) but when I uncheck "link with runtime packages" I get linker error [ilink32 Error] Error: Unresolved external 'PathCanonicalizeW' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\SBRIDGE230.LIB|ScSFTPServer even if I didn't use SFTP, just ScSSHServer and ScFileStorage components. If I leave "link with runtime packages" checked it compiles. I realize that for demo version I need to include sbridge170.bpl with exe, but I don't want to include stuff like rtlXX.bpl, vcl.bpl etc. If these libraries are what I need, I'd definately switch to full version, but I need to be able to have single exe (even if it is larger due to static linking) Does this linking error happen only in demo? Thanks
Re: Linker Error ScSFTPServer without using it
Posted: Thu 30 Jun 2016 13:02
by ViktorV
To solve the issue related to compilation on C++ Builder with Build with runtime packages option disabled, please try to add the following line to your cpp file:
When using SecureBridge Trial Edition, you should always deploy the required BPL files with your application. When using a licensed version of SecureBridgeб you should deploy the required BPL files only in case of project compilation with the Build with runtime packages option enabled. You can read about it at our website:
https://www.devart.com/sbridge/docs/deployment.htm
Re: Linker Error ScSFTPServer without using it
Posted: Thu 30 Jun 2016 18:46
by Almer
Sweet! Now it works beautifully. Thank you! You guys have excellent tech support. Like I mentioned above, SB ssh libraries are the best option for me. That includes tech support

Re: Linker Error ScSFTPServer without using it
Posted: Fri 01 Jul 2016 08:36
by ViktorV
Thank you for being interested in our products and for your feedback about our work.
If you have any questions while using our products, please don't hesitate to contact us - and we will try to help you resolve them.