Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Loads a C library.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CFunction | 10.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The library name/path. Can be a name and the system will look in library search path. Or full path for some custom library. |
"/usr/lib/libz.1.dylib" |
Returns library reference number or error.
Load zlib:
MBS( "CLibrary.Load"; "/usr/lib/libz.1.dylib" )
Load SQLite library manually on macOS:
Set Variable [ $library ; Value: MBS( "CLibrary.Load"; "/usr/lib/libsqlite3.dylib" ) ]
This function checks for a license.
Created 25th April 2020, last changed 4th January 2024