Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.LoadLibrary
Loads a custom CURL library.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 10.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.LoadLibrary"; Path ) More
Parameters
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" |
Result
Returns OK or error.
Description
Loads a custom CURL library.If you need a different CURL library, e.g. one supporting HTTP/2 or Keberos authentication, you can load the native library here.
If you have trouble with DLLs not loading on Windows, please check if you have new Visual Studio Runtime libraries installed. If you need more than one DLL, please use Process.SetDllDirectory to point to the folder to find the DLL files.
Examples
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 ]
See also
Release notes
- Version 10.2
- Added CURL.LoadLibrary function to load custom CURL library.
Blog Entries
- News about the MBS FileMaker Plugin 10.2
- Neues MBS FileMaker Plugin 10.2
- MBS FileMaker Plugin 10.2 - More than 6200 Functions In One Plugin
- MBS FileMaker Plugin, version 10.2pr4
This function checks for a license.
Created 19th April 2020, last changed 12nd January 2024