Mod .INI's w/WriteProf..
10-Oct-91 19:36:38
Sb: #2499-Mod .INI's w/WriteProf..
Fm: Dennis L. Harrington 76216,3472
To: Brightwork Development 75300,1415
Tom,
WritePrivateProfileString is exactly what the doctor ordered for changing
string key values and WritePrivateProfileINT for changing integer key
values. Both of these calls can be used to change, add or delete lines or
entire sections from an .ini file.
WriteProfileString and WriteProfileINT are two more that can be used
exclusively with with WIN.INI. In addition to making the desired changes in
the win.ini disk file, they also force windows to re-read and update its
internal copy of win.ini after each use.
I'm not sure, but my guess would be that you'll have to restart windows
for any changes in system.ini to become effective.
–dennis