Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading and Writing to .INI files.
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00242096
Message ID:
00242322
Views:
18
>I'm looking for the best way to read and write to an .INI file. I have come up with using low level functions FGET(), FPUT(), or using the REGFN() function available in Foxtools.dll. I can't help but think that there is a better way to do this...
>
>Thanks for any responses in advance.

Hi Dan,

In addition there's my IniFiles class in the UT files section under Win32 and other APIs. The one thing that it does, which the registry class in the FFC doesn't do, is that when you write to the WIN.INI file, it automatically tells any open application to reload the modified section. Without this, changes to the file are not recognized by open applications.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform