-
Notifications
You must be signed in to change notification settings - Fork 22
Home
Mercury13 edited this page Jan 1, 2020
·
39 revisions
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 download page. For example, builds by Viktor Szakáts proved good. They do not require bulky Microsoft runtimes.
- The best OpenSSL (for 2020) is at MSYS2. Also no Microsoft runtimes. Enter in MSYS2 shell (not Windows command line!)
pacboy sync mingw-w64-i686-openssl mingw-w64-x86_64-openssl
Do not want to install MSYS because you are not C++ programmer? Scrub MSYS archives for OpenSSL package.
I do not recommend cURL from MSYS, it requires LOTS of external dependencies.
ZLIB is compiled into cURL by Viktor Szakáts and unneeded as separate DLL, but versions from other contributors may require it.
Warning: wiki will always lag behind. I can only say that I work with 7.56.1, and it is tested somehow.