void GetCurrentDirectory(CString &strPath)
{
wchar_t pBuf[256];
GetModuleFileName(NULL,pBuf,sizeof(pBuf)/sizeof(wchar_t));
strPath=pBuf;
strPath = strPath.Left(strPath.ReverseFind('//') + 1);
}
void GetCurrentDirectory(CString &strPath)
{
wchar_t pBuf[256];
GetModuleFileName(NULL,pBuf,sizeof(pBuf)/sizeof(wchar_t));
strPath=pBuf;
strPath = strPath.Left(strPath.ReverseFind('//') + 1);
}