Hello

My inifile:
[XXXX]
Key=hello

Does anyone know how to effectivly delete the [XXXX] part
in a ini-file?

I know how to delete the "key=hello" part in an ini-file by using the "WritePrivateProfileSection" but that leaves the [XXXX] part in the ini-file. I want to get rid of that one too.

Thank you