OS/2, eCS & ArcaOS - Technical > Programming

human readable config file handling - libs we have

(1/3) > >>

Andi B.:
OS/2 software usually stores application data in os2.ini or some application.ini. But nowadays I prefer human readable config files. We have such for a lot of ported software like smb.conf or http.conf or ...

Someone knows which libraries are used for (simple) config file processing? I want to store some application settings of my own program in a human readable form. For sure I don't need to reinvent all these text parsing stuff again. Which sources should I look for? Thanks.

Lars:
Use the old Win31 API. That comes as part of the DAPI extensions. You will need to search a little to find the documentation.

Lars:
Sorry, that supports the WinNT type of registry.

Andreas Schnellbacher:
Christian's WPSTK lib contains functions to access text ini files.


--- Code: ---start view wtkref /s "text initialization"
--- End code ---

Andi B.:

--- Quote from: Andreas Schnellbacher on February 06, 2021, 03:41:46 pm ---Christian's WPSTK lib contains functions to access text ini files.


--- Code: ---start view wtkref /s "text initialization"
--- End code ---

--- End quote ---
As far as I can see it produces and works with .ini file format. Not what you can read and edit with standard text editors. Have I missed something?

Navigation

[0] Message Index

[#] Next page

Go to full version