Assuming a subclass of csApplicationFramework (for the ReportError)
if (!csInitializer::SetupConfigManager (objectRegistry, "/programmount/config.cfg"))
{
return ReportError("Unable to init app!");
}
That will load a configuration file for your application. The /programmount/ is a vfs mount point for your application that you put in the file vfs.cfg in the folder of your project. It might contain something like this (this is an added line in a copy of the default CS vfs.cfg file):
VFS.Mount.programmount = $*programmountfolder$/
Where the VFS mount is /programmount/ and the actual filesystem name of that directory is programmountfolder.
Good Luck!