You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the win32 app is responsible to create and use a file called CONFIG.dat.
This is handled by a basic parser that enforces a specific structure: variable:value; but makes the whole application harder to maintain. Can also cause parsing errors if the structure is manually changed (not sure of the side effects).
Possibly two better approaches to try would be:
C++ Interface for SQLite; (very powerful and super fast but arguably over engineering as the configuration is simple and we won't make use of the query engine 🤔 );
I think one requirement is also being able to edit the configuration without having to start the UI. Would be cool if stored in an human readable format.
The Win32 App could also be a command line tool with an option to lunch in GUI mode. 🤔
Currently the win32 app is responsible to create and use a file called
CONFIG.dat
.This is handled by a basic parser that enforces a specific structure:
variable:value;
but makes the whole application harder to maintain. Can also cause parsing errors if the structure is manually changed (not sure of the side effects).Possibly two better approaches to try would be:
.ini
files. GetPrivateProfileString and WritePrivateProfileStringA;Note: There are some libs for INI files but I don't think it is necessary as it is that easy via Win32 API.
The text was updated successfully, but these errors were encountered: