wwServer::oConfig

Object that holds all of the configuration values stored in the YourApp.ini file.

The top level properties are the values from the [Main] section, each of the other sections are mapped to "oSectionName" properties beneath the oConfig.

In Process classes this object is available as: Config

o.oConfig

Example

Assume you have a process class called wwDemo which typically creates a configuration section called wwDemo and an owwDemo property on the main Config object.

You can now access things like this:

foxpro
foxpro
*** Top level configuration property lcPath = Config.cSystemFilesDataPath llLogToFile = Config.lLogToFile *** Child config object for wwDemo section lcDataPath = Config.owwDemo.cDataPath lcHtmlPage = Config.owwDemo.cHtmlPagePath

See also

Class wwServer

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic