I'm trying to read/write INI files in VISUAL C++ 6.0 (with MFC)
I tried to load registry.hpp and CINIfiles and a few more but they don't exist in this version(because of constraints in the workplace I can't use the BOOST library).
So which way should work with INI files?
Asked
Active
Viewed 2,065 times
0
-
1GetPrivateProfileString / WritePrivateProfileString – wimh Nov 08 '14 at 16:53
1 Answers
0
You can use boost program options OR property tree to read .ini files.
Apart from that you can use windows API functionalities GetPrivateProfileString() and GetPrivateProfileInt().

ravi
- 10,994
- 1
- 18
- 36
-
Hey, I forgot to mention that because of constraints in the workplace I can't use the BOOST library. – Nov 08 '14 at 16:53