JFLib

plat/win_clr.rs (Windows)#

Source: lib/plat/win_clr.rs

win_clr -- run a managed program on the CoreCLR another application ships

  clr_run(dir, app, args)        self-contained .NET applications bring coreclr.dll and their
                                 whole framework: load that runtime into this process, trust
                                 every assembly of dir, execute app's Main -> its exit code.
                                 No installed .NET is involved.  Plugin policy applies (coreclr.dll, app
                                 and every DLL of dir and of app's folder); ARM64 refuses x64.
  machine_reg_string(sub, name)  a string value of HKLM\sub (None: missing or another type)
  • fn clr_run(dir: &str, app: &str, args: &[String]) -> Result<i32, String> the runtime of dir runs app with args (no program name) on this thread

  • fn machine_reg_string(sub: &str, name: &str) -> Option<String> a string value of HKLM\sub

Source: docs/API.md in the JFLib repository.