Getting started
You need 4D 20 LTS or later, on macOS or Windows. The release files are on the download page.
- Download the DMG (macOS) or ZIP (Windows) for your 4D
from the download page:
20Lfor 20 LTS,20Rfor 20 R10,21Lfor 21 LTS,21Rfor 21 R. All are 6.0.0-beta.2 from the same commit. Check the SHA-256 against the value on the download page. - Install: copy
Foundation.4dbaseinto your project'sComponents/folder and reopen the project. - New host? Clone
Foundation
Product Sales, the public demo database, install Foundation into its
Components/folder, and read itsFnd_Hook_*andFnd_Host_*methods: they are the whole contract between a host and Foundation. Copy the ones you need. - 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.wndis no longer published, the Logging component is no longer required, and German isDE, notGR. - 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.