Compile time reading ini file
Hi all,
I have an INI file that I need to read at compile time (i.e. when the exe is created).
I want to read the file and store everything as a (global?) variable so I can access it later and write registry keys from the values.
Unfortunately, I don't know how to read/store at compile time, especially since the INI file doesn't have any section headings. I can't call functions at compile time, can I? How would I go about doing this?
Thanks for the help! Cheers!
Edit: I suppose I essentially want to read from an ini file and set environment variables or something? But lots of them, like 250+?