ltmsPathResolver Object

The ltmsPathResolver object contains a collection of variables that can be used to resolve any toolkit file path. The variables are represented in the file path using the form %key%.

These variables can be used in the code or in the XML configuration file. For example, one of the first lines in the XML file sets the media folder to be equal to %ltmsMediaFolder%. The default value of this variable is shown in the table below. Note that when you call ltmsPathResolver, you need to strip out the leading and trailing "%".

The ltmsPathResolver object is initially populated with the following variables:

Key

Value

ltmsLibFolder

Path to the folder containing the LTMS DLL

ltmsAppFolder

Path to the folder containing the calling application

ltmsRootFolder

Path to the folder containing the calling application

ltmsMediaFolder

%ltmsRootFolder%\media

ltmsLogFolder

%ltmsRootFolder%\logs

ltmsConfigFolder

%ltmsRootFolder%\config

Interfaces

IltmsPathResolver

CLSID

CLSID_ltmsPathResolver

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Media Streaming C API Help
Click or drag to resize