Foundation 6

Getting started

You need 4D 20 LTS or later, on macOS or Windows. The release files are on the download page.

  1. Download the DMG (macOS) or ZIP (Windows) for your 4D from the download page: 20L for 20 LTS, 20R for 20 R10, 21L for 21 LTS, 21R for 21 R. All are 6.0.0-beta.2 from the same commit. Check the SHA-256 against the value on the download page.
  2. Install: copy Foundation.4dbase into your project's Components/ folder and reopen the project.
  3. New host? Clone Foundation Product Sales, the public demo database, install Foundation into its Components/ folder, and read its Fnd_Hook_* and Fnd_Host_* methods: they are the whole contract between a host and Foundation. Copy the ones you need.
  4. Foundation 5 host? Read Upgrading from Foundation 5 first. The breaking changes are few and listed: Foundation's own licensing methods are gone, cs.fnd.wnd is no longer published, the Logging component is no longer required, and German is DE, not GR.
  5. Problems: open an Issue in Foundation Product Sales, giving the 4D version and the target you used. Compile warnings are not bugs; errors and misbehaviour are.

Then read the Developer Guide, starting at chapter 3, Starting fresh.

Foundation is free under the MIT licence. There is nothing to register and nothing expires.