>Hi all,
>
>I use the WritePrivateProfileSection to add a section to an INI file, but it adds the text at the beginning of the file, while I want to add it to the end of file. Any help please?
Hi Jimi,
MSDN Libray (
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/regapi_9zu6.asp) states and my test confirm that new section is added at the end of the ini file. Here's function declaration I use in my testing.
DECLARE Long WritePrivateProfileSection IN WIN32API ;
String lpAppName, ;
String lpString, ;
String lpFileName
I don't know why it works differently for you.
--sb--