// 给一个目录的末尾加上‘\’
#define ADD_PATH_END(pszPath) \
{\
if ((pszPath)[lstrlen((pszPath))-1] != '\\') \
lstrcat((pszPath), "\\"); \
}\
// 删除一个目录末尾的‘\’
#define DEL_PATH_END(pszPath) \
{ \
if (pszPath[lstrlen(pszPath)-1] == '\\') \
pszPath[lstrlen(pszPath)-1] = '\0'; \
}\