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
Component Description
Interfaces IltmsPathResolver
CLSID CLSID_ltmsPathResolver

See Also

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Streaming C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.