Dmitry, Thank you for the quick reply.
Yes, I forgot to mention this. Since our C++ application is so old we are still using MSVC 2013. Thank you again, Zach. From: Dmitry Karpov <dkar...@roku.com> Sent: Thursday, June 26, 2025 6:23 PM To: libcurl development <curl-library@lists.haxx.se> Cc: Zinovy Soltsov <zach.solt...@niceactimize.com> Subject: RE: A problem with the Curl library for 32 bit Windows applications EXTERNAL EMAIL Maybe a trivial question, but worth asking - are you trying to link using MSVC? These libraries are built for MinGW compiler which uses "Linux like" environment under Windows, so you can link them only using MinGW. If you must use MSVC then you will either need to find MSVC compatible libraries or build them yourself using CMake and MSVC as a toolchain. Thanks, Dmitry Karpov From: curl-library <curl-library-boun...@lists.haxx.se<mailto:curl-library-boun...@lists.haxx.se>> On Behalf Of Zinovy Soltsov via curl-library Sent: Thursday, June 26, 2025 1:20 PM To: curl-library@lists.haxx.se<mailto:curl-library@lists.haxx.se> Cc: Zinovy Soltsov <zach.solt...@niceactimize.com<mailto:zach.solt...@niceactimize.com>> Subject: [EXTERNAL] A problem with the Curl library for 32 bit Windows applications To whom it may concern, We have an old C++ application using the old Curl library, probably from year 2007. We use it to communicate with one of our content provider's SFTP servers. The content provider recently switched to sha256 key fingerprint and it broke our application. This is not a surprise since this didn't exist so long ago. I downloaded the latest Curl 18.14.1 binaries for Windows 32 bit applications from https://curl.se/windows/ and tried to link it statically to the C++ program. I got a number unresolved external symbol link errors. Most of them (but not all of them) were about __memcpy_chk function. As far as I understand this is a Linux function and Windows doesn't have such an API. Also, although it is not a big deal, the library binaries have .a file name Linux extension not the Windows .lib extension. It just makes me suspect that the library binaries were compiled for Linux applications. I also tied to link the Curl library dynamically and didn't get any issues with it but our executable started blowing up when I put it on one of our servers along with libcurl.dll. This is pretty urgent for us since we use this application for clients like WellsFargo and Bank of America. Your help would be greatly appreciated. Thank you in advance, Zachary Soltsov. Principal Software Engineer NICE Actimize (M) 718-791-0244 zach.solt...@niceactimize.com<mailto:zach.solt...@niceactimize.com> www.niceactimize.com<http://www.niceactimize.com/?utm_source=signature&utm_medium=email> [cid:image001.jpg@01DBE6C8.37957130]<https://www.niceactimize.com/?utm_source=signature&utm_medium=email> Confidentiality: This communication and any attachments are intended for the above-named persons only and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of NICE Actimize. If this communication has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender by e-mail immediately. Monitoring: NICE Actimize may monitor incoming and outgoing e-mails. Viruses: Although we have taken steps toward ensuring that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Confidentiality: This communication and any attachments are intended for the above-named persons only and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of NICE Actimize. If this communication has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender by e-mail immediately. Monitoring: NICE Actimize may monitor incoming and outgoing e-mails. Viruses: Although we have taken steps toward ensuring that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html