Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.09 KB

File metadata and controls

17 lines (11 loc) · 1.09 KB

Run-Java-Script-in-Delphi

This example illustrates how to incorporate JavaScript in Delphi, call Delphi objects in a script, exchange data between the main app and a script, and use Node.js modules.

The following article summarizes an experience using SpiderMonkey JavaScript to run scripts in Delphi: Getting started with SpiderMonkey to run JavaScript in Delphi

How to compile

  1. Download the latest stable release of the mORMot integration library
  2. Download the SpiderMonkey precompiled and prepared for mORMot binaries: SpiderMonkey52 DLLs
  3. Clone the FastMM4 repository.
  4. Add links to the following directories to Delphi Library Paths: "...mORMot", "...mORMot\SyNode", "...\mORMot\SQLite3", and "...FastMM4".
  5. Put downloaded SpiderMonkey DLLs near the app executable or add a link to these DLLs to the PATHS environment variable.

Enjoy.