Run Filter In Process
By default, Filter runs out of process. However, you can enable in-process filtering through the API or in the formats.ini
file. If the type of process is not specified in the formats.ini
or in the API, Filter is run out of process. If the type of process is specified in the formats.ini
and in the API, the setting in the API takes precedence.
In the API
To run Filter in process
-
Set the final argument (
dwFlags
) of either fpInit(), fpInitWithLicenseData() or fpOpenStreamEx2() toKVF_INPROCESS
.dwFlags |= KVF_INPROCESS
- Call a filtering function or a metadata extraction function. See Filter API Functions.
- Optionally, call a metadata extraction function if a filter function was called in the previous step. See fpGetDocInfoFile() or fpGetDocInfoStream().
In the formats.ini File
To run Filter in process, set the default_inprocess
parameter in the [FilterSDK_Config]
section of the formats.ini
file to 1
.
By default this parameter is set to 0
(zero), which enables out-of-process filtering.