file_settings

September 14, 2025 ยท View on GitHub

Shows how to use xtd::consiguration::file_settings object.

Sources

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

----------------------------------------
"exemple.ini" file content :
# Settings file used by file_settings example.
# Copyright (c) 2024 Gammasoft. All rights reserved.

auto_close = true
caption = file_settings example

[Thread "Process"]
timeout = 00:00:00.1000000

----------------------------------------
read keys :
auto_close = true
caption = file_settings example
Thread "Process"
----------------------------------------