XLL+ Class Library (7.0)

CXllFunctionFilterLoader::LoadTextFile

Loads the specified text file, parses the contents and applies them to the function filter

static bool LoadTextFile(
   char* path,
   CXllFunctionFilterLoader::LoadTypes loadType = CXllFunctionFilterLoader::OPT_IN
);

Parameters

path

The fully qualified path to the configuration file to be loaded.

loadType

The strategy to be applied to the contents of the file: either CXllFunctionFilterLoader::OPT_IN, CXllFunctionFilterLoader::OPT_OUT or CXllFunctionFilterLoader::EXPLICIT.

For details of the effect see the note "Configuration file" in the CXllFunctionFilterEventHandlerFromFile class documentation.

Return Value

Returns true if the file was successfully loaded and applied. Returns false if the file could not be loaded.

Requirements

Header: xlpfunctionfilter.h

See Also

CXllFunctionFilterLoader Class | CXllFunctionFilterLoader Methods