Class TAppEnvironment (unit AppEnv)

Inherits from

TObject

Constructors


constructor Create(szINIFilename: String);

Public constructor


Functions

function iGetINIInteger(szSection, szKey: String; iDefault: Integer): Integer;

Return the result or default.

procedure SetINIString(szSection, szKey, szNewValue: String);

Call the Windows API to read the INI file.

function szGetINIFilename: String;

Methods for getting and setting INI values.

function szGetINIString(szSection, szKey, szDefault: String): String;

Stash away the INI file name for later use.

Properties

Events

Variables

m_szINIFilename : String;

Name of the application's .


Constructors


constructor Create(szINIFilename: String);

Public constructor


Functions


function iGetINIInteger(szSection, szKey: String; iDefault: Integer): Integer;

Return the result or default.


procedure SetINIString(szSection, szKey, szNewValue: String);

Call the Windows API to read the INI file.


function szGetINIFilename: String;

Methods for getting and setting INI values.

Call the Windows API to read the INI file.


function szGetINIString(szSection, szKey, szDefault: String): String;

Stash away the INI file name for later use.


Properties


Events


Variables


m_szINIFilename : String;

Name of the application's .INI file.