GetConfigLoc Function

Returns the location of the application's configuration settings. In versions prior to version 5, this would be in one of the following forms:




If the first form is returned, the settings are stored in the registry. The path of the registry key is HKEY_CURRENT_USER registry_root_pathname .

If the second form is returned the settings are stored in a file with full path equal to inifile_pathname .

From version 5, the registry is no longer used for storing settings, so only the second of the two forms will ever be returned.

The return value from GetConfigLoc can be used directly as the value of the /config_location switch at the simulator (SIM.EXE) command line. See the "Running the Simulator" chapter in the Simulator Reference Manual for more details.


No arguments


Return type: string array