When reading with GetPrivateProfileString, or any other file read function "\n" is considered as two characters, and it is not a newline special character. You can solve this by replacing "\\n" with "\n".
And it will convert "\n" as a special character.
CString cs( cBuffer ); cs.Replace( "\\n", "\n" );