Changeset 1112
- Timestamp:
- 6/10/2009 12:08:29 AM (4 years ago)
- Location:
- trunk/eraser5
- Files:
-
- 10 edited
-
Eraser.vcproj (modified) (4 diffs)
-
EraserDll/CustomMethodEdit.cpp (modified) (1 diff)
-
EraserDll/EraserDll.vcproj (modified) (5 diffs)
-
EraserDll/NTFS.cpp (modified) (1 diff)
-
EraserView.cpp (modified) (6 diffs)
-
Erasext/Erasext.vcproj (modified) (4 diffs)
-
HotKeyDlg.cpp (modified) (1 diff)
-
Launcher/Launcher.vcproj (modified) (4 diffs)
-
SchedulerView.cpp (modified) (4 diffs)
-
Verify/Verify.vcproj (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser5/Eraser.vcproj
r1110 r1112 2 2 <VisualStudioProject 3 3 ProjectType="Visual C++" 4 Version="9 ,00"4 Version="9.00" 5 5 Name="Eraser" 6 6 ProjectGUID="{EC74DAF8-5106-470B-A8F4-D539B347E20E}" … … 461 461 <Tool 462 462 Name="VCLinkerTool" 463 AdditionalDependencies=" SHFolder.lib Version.lib EraserUI.lib Shared.lib"463 AdditionalDependencies="unicows.lib SHFolder.lib Version.lib EraserUI.lib Shared.lib" 464 464 OutputFile="$(OutDir)\Eraser.exe" 465 465 LinkIncremental="1" … … 657 657 <Tool 658 658 Name="VCLinkerTool" 659 AdditionalDependencies=" SHFolder.lib Version.lib EraserUI.lib Shared.lib"659 AdditionalDependencies="unicows.lib SHFolder.lib Version.lib EraserUI.lib Shared.lib" 660 660 OutputFile="$(OutDir)\Eraser.exe" 661 661 LinkIncremental="1" … … 852 852 <Tool 853 853 Name="VCLinkerTool" 854 AdditionalDependencies=" SHFolder.lib Version.lib EraserUI.lib Shared.lib"854 AdditionalDependencies="unicows.lib SHFolder.lib Version.lib EraserUI.lib Shared.lib" 855 855 OutputFile="$(OutDir)\Eraser.exe" 856 856 SuppressStartupBanner="true" -
trunk/eraser5/EraserDll/CustomMethodEdit.cpp
r1110 r1112 163 163 164 164 UpdateList(); 165 m_lcPasses.SetItemState( iItem, LVIS_SELECTED, LVIS_SELECTED);165 m_lcPasses.SetItemState(static_cast<int>(iItem), LVIS_SELECTED, LVIS_SELECTED); 166 166 } 167 167 } -
trunk/eraser5/EraserDll/EraserDll.vcproj
r1110 r1112 2 2 <VisualStudioProject 3 3 ProjectType="Visual C++" 4 Version="9 ,00"4 Version="9.00" 5 5 Name="EraserDll" 6 6 ProjectGUID="{31F52DA7-B9F6-452D-823F-E1EFDF283995}" … … 468 468 <Tool 469 469 Name="VCLinkerTool" 470 AdditionalDependencies=" netapi32.lib EraserUI.lib Shared.lib"470 AdditionalDependencies="unicows.lib netapi32.lib EraserUI.lib Shared.lib" 471 471 OutputFile="$(OutDir)\Eraser.dll" 472 472 LinkIncremental="1" … … 665 665 <Tool 666 666 Name="VCLinkerTool" 667 AdditionalDependencies=" netapi32.lib EraserUI.lib Shared.lib"667 AdditionalDependencies="unicows.lib netapi32.lib EraserUI.lib Shared.lib" 668 668 OutputFile="$(OutDir)\Eraser.dll" 669 669 LinkIncremental="1" … … 862 862 <Tool 863 863 Name="VCLinkerTool" 864 AdditionalDependencies=" netapi32.lib EraserUI.lib Shared.lib"864 AdditionalDependencies="unicows.lib netapi32.lib EraserUI.lib Shared.lib" 865 865 OutputFile="$(OutDir)\Eraser.dll" 866 866 SuppressStartupBanner="true" … … 1340 1340 > 1341 1341 <File 1342 RelativePath="..\res\Eraser.ico" 1343 > 1344 </File> 1345 <File 1342 1346 RelativePath="res\Eraser.ico" 1343 >1344 </File>1345 <File1346 RelativePath="..\res\Eraser.ico"1347 1347 > 1348 1348 </File> -
trunk/eraser5/EraserDll/NTFS.cpp
r1110 r1112 376 376 eraserUpdateNotify(context); 377 377 378 E_INT32 iSize = s aList.GetSize();378 E_INT32 iSize = static_cast<E_INT32>(saList.GetSize()); 379 379 for (E_INT32 i = 0; i < iSize; i++) { 380 380 eraserSafeAssign(context, context->m_uProgressPercent, (E_UINT8)((i * 100) / iSize)); -
trunk/eraser5/EraserView.cpp
r1110 r1112 463 463 DWORD dwAttributes; 464 464 COleDateTime odtModified; 465 BOOL bExists ;465 BOOL bExists = FALSE; 466 466 467 467 WIN32_FIND_DATA findFileData; … … 737 737 738 738 int nItem = lc.GetNextSelectedItem(pos); 739 DWORD_PTR nIndex = lc.GetItemData(nItem);739 INT_PTR nIndex = static_cast<INT_PTR>(lc.GetItemData(nItem)); 740 740 741 741 if (nIndex >= 0 && nIndex < pDoc->m_paTasks.GetSize()) … … 834 834 835 835 int nItem; 836 DWORD_PTRnIndex;836 INT_PTR nIndex; 837 837 INT_PTR iSize = pDoc->m_paTasks.GetSize(); 838 838 CItem *piItem = 0; … … 843 843 { 844 844 nItem = lc.GetNextSelectedItem(pos); 845 nIndex = lc.GetItemData(nItem);845 nIndex = static_cast<INT_PTR>(lc.GetItemData(nItem)); 846 846 847 847 if (nIndex >= 0 && nIndex < iSize) … … 943 943 CItem *piItem = 0; 944 944 int nItem = -1; 945 DWORD_PTRnIndex = 0;945 INT_PTR nIndex = 0; 946 946 INT_PTR iSize = pDoc->m_paTasks.GetSize(); 947 947 POSITION pos = lc.GetFirstSelectedItemPosition(); … … 953 953 { 954 954 nItem = lc.GetNextSelectedItem(pos); 955 nIndex = lc.GetItemData(nItem);955 nIndex = static_cast<INT_PTR>(lc.GetItemData(nItem)); 956 956 957 957 if (nIndex >= 0 && nIndex < iSize) -
trunk/eraser5/Erasext/Erasext.vcproj
r1110 r1112 2 2 <VisualStudioProject 3 3 ProjectType="Visual C++" 4 Version="9 ,00"4 Version="9.00" 5 5 Name="Erasext" 6 6 ProjectGUID="{E3DBF6A6-475B-4BA8-AE20-73655A7D42D9}" … … 468 468 <Tool 469 469 Name="VCLinkerTool" 470 AdditionalDependencies=" EraserUI.lib Shared.lib"470 AdditionalDependencies="unicows.lib EraserUI.lib Shared.lib" 471 471 OutputFile="$(OutDir)\Erasext.dll" 472 472 LinkIncremental="1" … … 666 666 <Tool 667 667 Name="VCLinkerTool" 668 AdditionalDependencies=" EraserUI.lib Shared.lib"668 AdditionalDependencies="unicows.lib EraserUI.lib Shared.lib" 669 669 OutputFile="$(OutDir)\Erasext.dll" 670 670 LinkIncremental="1" … … 863 863 <Tool 864 864 Name="VCLinkerTool" 865 AdditionalDependencies=" EraserUI.lib Shared.lib"865 AdditionalDependencies="unicows.lib EraserUI.lib Shared.lib" 866 866 OutputFile="$(OutDir)\Erasext.dll" 867 867 SuppressStartupBanner="true" -
trunk/eraser5/HotKeyDlg.cpp
r1110 r1112 149 149 DWORD count = 0; 150 150 kReg.GetValue(count, _T("__count"), 0); 151 for ( inti = 0; i < count; i++) {151 for (DWORD i = 0; i < count; i++) { 152 152 CString temp, key, value; 153 153 temp.Format(_T("__key_%ld"), i); -
trunk/eraser5/Launcher/Launcher.vcproj
r1110 r1112 2 2 <VisualStudioProject 3 3 ProjectType="Visual C++" 4 Version="9 ,00"4 Version="9.00" 5 5 Name="Launcher" 6 6 ProjectGUID="{D4750DE4-A865-494B-B5AD-84DF59ADFC05}" … … 454 454 <Tool 455 455 Name="VCLinkerTool" 456 AdditionalDependencies=" EraserUI.lib Shared.lib"456 AdditionalDependencies="unicows.lib EraserUI.lib Shared.lib" 457 457 OutputFile="$(OutDir)\Eraserl.exe" 458 458 LinkIncremental="1" … … 646 646 <Tool 647 647 Name="VCLinkerTool" 648 AdditionalDependencies=" EraserUI.lib Shared.lib"648 AdditionalDependencies="unicows.lib EraserUI.lib Shared.lib" 649 649 OutputFile="$(OutDir)\Eraserl.exe" 650 650 LinkIncremental="1" … … 837 837 <Tool 838 838 Name="VCLinkerTool" 839 AdditionalDependencies=" EraserUI.lib Shared.lib"839 AdditionalDependencies="unicows.lib EraserUI.lib Shared.lib" 840 840 OutputFile="$(OutDir)\Eraserl.exe" 841 841 SuppressStartupBanner="true" -
trunk/eraser5/SchedulerView.cpp
r1110 r1112 610 610 611 611 int nItem = lc.GetNextSelectedItem(pos); 612 DWORD_PTR nIndex = lc.GetItemData(nItem);612 INT_PTR nIndex = static_cast<INT_PTR>(lc.GetItemData(nItem)); 613 613 614 614 if (nIndex >= 0 && nIndex < pDoc->m_paScheduledTasks.GetSize()) … … 1250 1250 1251 1251 int iCount = lc.GetItemCount(); 1252 DWORD_PTRiIndex = 0;1252 INT_PTR iIndex = 0; 1253 1253 CScheduleItem *psiItem = 0; 1254 1254 CString str; … … 1261 1261 for (int iItem = 0; iItem < iCount; iItem++) 1262 1262 { 1263 iIndex = lc.GetItemData(iItem);1263 iIndex = static_cast<INT_PTR>(lc.GetItemData(iItem)); 1264 1264 1265 1265 if (iIndex >= 0 && iIndex < pDoc->m_paScheduledTasks.GetSize()) … … 1825 1825 1826 1826 int nItem = lc.GetNextSelectedItem(pos); 1827 DWORD_PTR nIndex = lc.GetItemData(nItem);1827 INT_PTR nIndex = static_cast<INT_PTR>(lc.GetItemData(nItem)); 1828 1828 1829 1829 if (nIndex >= 0 && nIndex < pDoc->m_paScheduledTasks.GetSize()) -
trunk/eraser5/Verify/Verify.vcproj
r1110 r1112 2 2 <VisualStudioProject 3 3 ProjectType="Visual C++" 4 Version="9 ,00"4 Version="9.00" 5 5 Name="Verify" 6 6 ProjectGUID="{870168AC-012D-4E78-AB70-CC20D02C0EBE}" … … 459 459 <Tool 460 460 Name="VCLinkerTool" 461 AdditionalDependencies=" EraserUI.lib"461 AdditionalDependencies="unicows.lib EraserUI.lib" 462 462 OutputFile="$(OutDir)\ErsChk.exe" 463 463 LinkIncremental="1" … … 653 653 <Tool 654 654 Name="VCLinkerTool" 655 AdditionalDependencies=" EraserUI.lib"655 AdditionalDependencies="unicows.lib EraserUI.lib" 656 656 OutputFile="$(OutDir)\ErsChk.exe" 657 657 LinkIncremental="1" … … 846 846 <Tool 847 847 Name="VCLinkerTool" 848 AdditionalDependencies=" EraserUI.lib"848 AdditionalDependencies="unicows.lib EraserUI.lib" 849 849 OutputFile="$(OutDir)\ErsChk.exe" 850 850 SuppressStartupBanner="true"
Note: See TracChangeset
for help on using the changeset viewer.
