Changeset 46
- Timestamp:
- 10/12/2007 9:51:16 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
EraserDll/FileLockResolver.cpp (modified) (3 diffs)
-
Launcher/Launcher.cpp (modified) (1 diff)
-
README.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/EraserDll/FileLockResolver.cpp
r35 r46 23 23 #include "stdafx.h" 24 24 #include "FileLockResolver.h" 25 #include "..\Launcher\Launcher.h" 25 26 #include <fstream> 26 27 #include <string> … … 124 125 || ERROR_SHARING_VIOLATION == dwErrorCode) 125 126 { 126 bool needResolve = true; 127 if (TRUE == m_bAskUser ) 127 if (TRUE == m_bAskUser) 128 128 { 129 needResolve = (IDYES == AfxGetMainWnd()->MessageBox(CString("The file ") + 130 szFileName + "is locked by another process. Do you want to Erase the file after " + 131 "you restart your computer?", "File Access Denied", MB_YESNO | MB_ICONQUESTION)); 132 } 133 134 if (needResolve) 135 { 136 static PathHelper path(m_strLockFileList); 137 std::ofstream os(m_strLockFileList, std::ios_base::out | std::ios_base::app); 138 os << FileData(szFileName, em, passes); 129 if (IDYES == AfxGetMainWnd()->MessageBox(CString("The file ") + 130 szFileName + "\nis locked by another process. Do you want to Erase the file after " + 131 "you restart your computer?", "File Access Denied", MB_YESNO | MB_ICONQUESTION)) 132 { 133 static PathHelper path(m_strLockFileList); 134 std::ofstream os(m_strLockFileList, std::ios_base::out | std::ios_base::app); 135 os << FileData(szFileName, em, passes); 136 } 139 137 } 140 138 } … … 175 173 CString strPath; 176 174 PathHelper(strPath, true); 177 strPath = CString("\"") + strPath ; 178 strPath += LAUNCHER; 179 strPath += "\" -rl \""; 180 strPath += m_strLockFileList + "\""; 175 strPath = CString("\"") + strPath + LAUNCHER + "\" " + szResolveLock; 176 strPath += " \"" + m_strLockFileList + "\""; 181 177 182 178 extern bool no_registry; -
trunk/Launcher/Launcher.cpp
r37 r46 513 513 { 514 514 AfxMessageBox(ee.what(), MB_ICONERROR); 515 return FALSE; 515 516 } 516 517 } -
trunk/README.txt
r3 r46 1 1 ---------------------------------------------------------------- 2 NOTE: This version uses the new installer. You Must remove versions3 5.8 and below by executing a) unwise/unwise32.exe in the eraser directory 4 or b) add/remove from the control panel.2 NOTE: This version uses a new installer system. You MUST remove 3 ALL EARLIER VERSIONS before installing this Beta. When installing 4 an earlier stable build, UNINSTALL the Beta first. 5 5 ---------------------------------------------------------------- 6 6 ---------------------------------------------------------------- 7 Eraser 5.8 4 (Aug 8th 2007)7 Eraser 5.85 Beta 2 (Oct 12th 2007) 8 8 ---------------------------------------------------------------- 9 9
Note: See TracChangeset
for help on using the changeset viewer.
