Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Loads a custom CURL library.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 10.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native path to the library file. e.g. DLL for windows, dylib for MacOS and so for Linux. Pass emtpy path to load internal library. |
"/Users/cs/Desktop/libcurl.dylib" |
Returns OK or error.
Load system CURL library on MacOS:
Show Custom Dialog [ "CURL Version before" ; MBS( "CURL.Version" ) ]
Set Variable [ $r ; Value: MBS( "CURL.LoadLibrary"; "/usr/lib/libcurl.4.dylib" ) ]
Show Custom Dialog [ "CURL loaded" ; $r ]
Show Custom Dialog [ "CURL Version after" ; MBS( "CURL.Version" ) ]
Load system CURL library on Linux:
Set Variable [ $r ; Value: MBS( "CURL.LoadLibrary"; "/usr/lib64/libcurl.so.4" ) ]
Show Custom Dialog [ "CURL loaded" ; $r ]
Created 19th April 2020, last changed 20th April 2020
Feedback: Report problem or ask question.