-
Notifications
You must be signed in to change notification settings - Fork 23
Home
Curl4delphi is a simple non-visual libcurl binding for Embarcadero Delphi.
- Supports Delphi XE2+; no legacy ANSI versions. By the way, it was created because all known bindings are designed for old ANSI Delphi.
- Type-safe. cURL relies on CURLoption, etc. to detect types, I added another layer, separate enums for separate types.
- No C++ Builder in mind. Of course, Pascal → C++ converter works, but patterns of C++ code are different, and, after all, you can use raw C interface or take any C++ binding.
- Windows only. I don’t know what to do with MacOS, and, of course, mobile platforms do not support C code (which is cURL).
- As light as possible. As cURL copies its string settings inside, I do not keep them in ICurl.
- Based on ref-counted interfaces.
- Supports >2G files (in upcoming 0.3 “Tokyo” release).
- Has a simple Unicode layer that’s currently absent in cURL.
Wiki will always lag behind, so the newest documentation is source code itself!
I use those.
- The best cURL builds are at cURL home page. For example, builds by Viktor Szakats proved good.
- The best OpenSSL (for 2020) is at MSYS2.
pacboy sync mingw-w64-i686-openssl mingw-w64-x86_64-openssl
I do not recommend cURL from MSYS, it consists of multiple DLLS. It’s better to download it at home page.
“Light” OpenSSL is enough, you need libcrypto, libssl and mcvcr120. Warning: install DLLs into OpenSSL binaries directory, they are easier to find, and you’ll forget nothing while deploying your software.
ZLIB is compiled into cURL by Viktor Szakáts and unneeded as separate DLL, but versions from other contributors may require it.
Warning: as wiki lags behind, some day newer version can appear at cURL download page. I can only say that I work with 7.56.1, and it is tested somehow.