| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |
To use ProTOML, add the global extension template to your Clarion application and enter the license supplied with your order.
PTM-DEMO value for demo mode.The global template supplies the ready-to-use Toml object, includes the high-level wrapper, links the ProTOML import library, and generates the startup license initialization.
After adding the template, call the high-level methods wherever your application needs them:
Toml.StartDocument()
Toml.SetString('application.name',AppName)
Toml.WriteGroup('settings',AppSettings)
Toml.WriteQueue('contacts',ContactQueue)
You do not need to declare the Toml object or call the low-level API functions.
In a Clarion multi-DLL application, add the ProTOML global template to the EXE app.
The supporting DLL apps do not need their own ProTOML global extension. The EXE startup code initializes ProTOML for the running process.
Developers who intentionally do not use the template can follow Hand-Coded Integration Without the Template. That page shows the class include, object declaration, import-library requirement, and manual license initialization.
Include ProTOML.dll with your application at runtime. The .lib file is used only at compile time.
| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |