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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Loads the JavaScriptCore library.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
JavaScriptWebKit | 13.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native file path to the library. | "/usr/lib/aarch64-linux-gnu/libjavascriptcoregtk-4.1.so" |
Returns OK or error.
Load library on Linux:
Set Variable [ $r ; Value: MBS("JavaScript.LoadLibrary"; "/usr/lib/aarch64-linux-gnu/libjavascriptcoregtk-4.1.so") ]
Load library on Windows:
Set Variable [ $r ; Value: MBS( "Process.SetDllDirectory"; "C:\Users\cs\Desktop\test") ]
Set Variable [ $r ; Value: MBS( "JavaScript.LoadLibrary"; "JavaScriptCore.DLL") ]
This function checks for a license.
Created 25th January 2023, last changed 8th September 2023