RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMemIniFile.Create Constructor

Creates a TMemIniFile object for an application.

Pascal
constructor Create(const FileName: string);
C++
__fastcall TMemIniFile(const AnsiString FileName);

Call Create to instantiate a TMemIniFile object for an application. Create sets the FileName property, and loads a copy of the INI file into memory, in an internal string list. 

FileName is the name of the INI file the TMemIniFile uses.

Note: On Windows, INI files are meant to be stored in the \WINDOWS directory or the application's directory. To work with an INI file in another location, specify the full path name of the file in FileName.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!