看帮助!
TIniFile is a low-level wrapper for the 16-bit Windows 3.x INI file system that
enables storage and retrieval of application-specific information and settings
in an application-specific INI file.
Unit
inifiles
Description
TIniFile enables handling the storage and retrieval of application-specific
information and settings in a Windows 3.x INI file. The INI file text format is
the standard way for Windows 3.x applications to store and retrieve application
settings from session to session. An INI file stores information in logical
groupings, called 搒ections.?For example, the WIN.INI file contains a section
called 揫Desktop]? Within each section, actual data values are stored in named
keys. Keys take the form:
<keyname>=<value>
The FileName passed to a TIniFile object when it is created is the name of the
INI file the object accesses.
Note: Under 32-bit Windows systems, applications typically replace INI files
with the system registry where all applications store and retrieve their settings.
Delphi provides additional classes for handling the system registry. TRegistry
encapsulates the system registry. TRegistryIniFile also encapsulates the registry,
but shares a common ancestor with TIniFile so that the same code can access entries
stored in either format.