i have an INI file and in it there is a section with 4 values with the same keys.
is it possible to get all of them?
i have an INI file and in it there is a section with 4 values with the same keys.
is it possible to get all of them?
If you're reading the file yourself, yes.
If you're using some OS provided API for reading INI files, read the documentation.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I'm using GetPrivateProfileString.
All i see in the document is a possibility to read all keys\sections, but not the values...