Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WritePrivateProfileSection
Message
 
 
To
09/01/2002 01:17:58
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00602370
Message ID:
00602469
Views:
31
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform