Get the default location for the cache file
static bool GetUserCacheFilePath( CString& strPath ); |
If the function succeeds, this will contain the full path to the cache file.
The fuction returns true if the operation was successful, or false it fails for any reason.
This method is implemented inline in xlserialize.h so that it can easily be used as the basis for your own more sophisiticated implementations, such as a shared cache.
The standard implementation constructs a path %TMP%\[Add-in name].dat
,
e.g. %TMP%\MyAddin.dat
, and expands it to a complete file path.
This location allows the user read, create and write access to the file
under almost all security configurations.
Header: xlserialize.h