'KCMLGetCacheDir(sPath$, iSize)

Returns the path to Kclient's cache directory

Arguments

STR()sPath$[out] String to receive the path.
INT()iSize[in] Size of sPath.

Returns

The function has no return value.

Syntax

The following definition is built into KCML. You do not have to include it in your own code.

$DECLARE 'KCMLGetCacheDir(RETURN STR(), INT())

Remarks

This function allows the server to get the full path name of client directory used to cache forms and pictures. The buffer passed must be large enough to hold the returned string, ideally _MAX_PATH., otherwise a blank string will be returned.

Example

DIM cache$_MAX_PATH
'KCMLGetCacheDir(cache$, LEN(STR(cache$)))

Further Information

IntroducedKCML 6.60
CompatibilityKClient

See Also

KCMLGetCacheFileName

Index of internal $DECLARE functions