Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WritePrivateProfileString
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00601354
Message ID:
00601555
Views:
23
>>I'm using WritePrivateProfileString to update an existing ini file and it works fine. I can use GetPrivateProfileString and get the changed key value (or whatever) I just wrote.
>>
>>However, if another application reads that ini file before my program quits, the changes are not visible. After I quit my program the changes are visible to everyone. Anyone know how to flush the Windows api buffer, or whatever is holding the new changes?
>
>What version of Windows you're expiriensing this problem under? Under Win2k Pro changes became visible to another application right away. You can try
? WritePrivateProfileString(Null, Null, Null, "Myini.ini")
********
Thanks Sergey, that worked for Win98 also. Is that documented somewhere or did you just dream it up?
Thanks for all the help you give on this list (I'm sure I speak for many other people)
Dr. Ken A. McGinnis
Healthcare software design
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform