Index: src/ch/StatusDlg.cpp =================================================================== diff -u -N -r6dc950d4d76107421ff6eb62069b70f20bcc450e -r0cd863a6e51b221c4f7bf6e7b83ddfc43a5d433f --- src/ch/StatusDlg.cpp (.../StatusDlg.cpp) (revision 6dc950d4d76107421ff6eb62069b70f20bcc450e) +++ src/ch/StatusDlg.cpp (.../StatusDlg.cpp) (revision 0cd863a6e51b221c4f7bf6e7b83ddfc43a5d433f) @@ -783,12 +783,12 @@ if (!spTask) return; - unsigned long lResult = (unsigned long)(ShellExecute(this->m_hWnd, _T("open"), _T("notepad.exe"), spTask->GetRelatedPath(CTask::ePathType_TaskLogFile), NULL, SW_SHOWNORMAL)); + unsigned long lResult = (unsigned long)(ShellExecute(this->m_hWnd, _T("open"), _T("notepad.exe"), spTask->GetRelatedPath(CTask::ePathType_TaskLogFile).ToString(), NULL, SW_SHOWNORMAL)); if(lResult < 32) { ictranslate::CFormat fmt(GetResManager().LoadString(IDS_SHELLEXECUTEERROR_STRING)); fmt.SetParam(_t("%errno"), lResult); - fmt.SetParam(_t("%path"), spTask->GetRelatedPath(CTask::ePathType_TaskLogFile)); + fmt.SetParam(_t("%path"), spTask->GetRelatedPath(CTask::ePathType_TaskLogFile).ToString()); AfxMessageBox(fmt); } }