GotoRoot(); // This is full absolute path.
// split path to key names.
- TCHAR *pszSeps = _T("\\");
+ const TCHAR *pszSeps = _T("\\");
// Make buffer and copy relative path into it.
TCHAR *pszBuffer = new TCHAR[_tcslen(pszRelativePath)+1];
}
}
- TCHAR *pszNewKey = _tcstok(pszBuffer,pszSeps);
+ const TCHAR *pszNewKey = _tcstok(pszBuffer,pszSeps);
if ((!pszNewKey)&&((*pszRelativePath != _T('\\'))||(*(pszRelativePath+1) != 0)))
{