CString GetExePath(void)
{
CString strExePath;
GetModuleFileName(NULL, strExePath.GetBuffer(MAX_PATH), MAX_PATH);
strExePath.ReleaseBuffer();
strExePath = strExePath.Left(strExePath.ReverseFind(_T('\\')));
return strExePath;
}