Changeset 494
- Timestamp:
- Jul 25, 2015, 10:13:05 AM (8 years ago)
- Location:
- trunk/Utilities/RotView
- Files:
-
- 4 added
- 6 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/RotView/AboutDialog.h
r156 r494 1 1 //////////////////////////////////////////////////////////// 2 // Copyright (C) Roman Ryltsov, 20 12-20132 // Copyright (C) Roman Ryltsov, 2006-2015 3 3 // Created by Roman Ryltsov roman@alax.info 4 // 5 // A permission to use the source code is granted as long as reference to 6 // source website http://alax.info is retained. 4 7 5 8 #pragma once 6 9 10 #include <atlsecurity.h> 7 11 #include <atlctrls.h> 8 12 #include <atlctrlx.h> … … 35 39 public: 36 40 // CAboutDialog 37 static CFontHandle CreateTitleFont() throw()41 static CFontHandle CreateTitleFont() 38 42 { 39 43 CLogFont LogFont; … … 41 45 LogFont.lfWeight = FW_BOLD; 42 46 LogFont.lfItalic = TRUE; 43 _tcsncpy_s(LogFont.lfFaceName, _ countof(LogFont.lfFaceName), _T("Arial"), _TRUNCATE);47 _tcsncpy_s(LogFont.lfFaceName, _T("Arial"), _TRUNCATE); 44 48 CFont Font; 45 49 _W(Font.CreateFontIndirect(&LogFont)); 46 50 return Font.Detach(); 47 51 } 48 static CFontHandle CreateDisclaimerFont() throw()52 static CFontHandle CreateDisclaimerFont() 49 53 { 50 54 CLogFont LogFont; 51 55 LogFont.lfHeight = -MulDiv(7, GetDeviceCaps(CClientDC(GetDesktopWindow()), LOGPIXELSY), 72); 52 56 LogFont.lfWeight = FW_NORMAL; 53 _tcsncpy_s(LogFont.lfFaceName, _ countof(LogFont.lfFaceName), _T("Lucida Console"), _TRUNCATE);57 _tcsncpy_s(LogFont.lfFaceName, _T("Lucida Console"), _TRUNCATE); 54 58 CFont Font; 55 59 _W(Font.CreateFontIndirect(&LogFont)); 56 60 return Font.Detach(); 57 61 } 58 CAboutDialog() throw()62 CAboutDialog() 59 63 { 60 _Z4 (atlTraceRefcount, 4, _T("this 0x%p\n"), this);64 _Z4_THIS(); 61 65 } 62 ~CAboutDialog() throw()66 ~CAboutDialog() 63 67 { 64 _Z4(atlTraceRefcount, 4, _T("this 0x%p\n"), this); 68 _Z4_THIS(); 69 } 70 static BOOL IsAdministrator() 71 { 72 bool bIsMember = FALSE; 73 return CAccessToken().CheckTokenMembership(Sids::Admins(), &bIsMember) && bIsMember; 74 } 75 static VOID UpdateCaption(CWindow Window) 76 { 77 CString sCaption; 78 _W(Window.GetWindowText(sCaption)); 79 CRoArrayT<CString> SpecifierArray; 80 #if defined(_WIN64) 81 SpecifierArray.Add(_T("64-bit")); 82 #else 83 if(SafeIsWow64Process()) 84 SpecifierArray.Add(_T("32-bit")); 85 #endif // defined(_WIN64) 86 if(IsWindowsVistaOrGreater() && IsAdministrator()) 87 SpecifierArray.Add(_T("Administrator")); 88 if(!SpecifierArray.IsEmpty()) 89 sCaption = AtlFormatString(_T("%s (%s)"), sCaption, _StringHelper::Join(SpecifierArray, _T(", "))); 90 #if _TRACE 91 sCaption.Append(_T(" // ")); 92 #if _DEVELOPMENT 93 sCaption.Append(_T("Dev ")); 94 #endif // _DEVELOPMENT 95 sCaption.Append(_VersionInfoHelper::GetVersionString(_VersionInfoHelper::GetFileVersion(_VersionInfoHelper::GetModulePath()))); 96 #endif // _TRACE 97 Window.SetWindowText(sCaption); 65 98 } 66 99 … … 111 144 _W(m_EmailHyperStatic.SubclassWindow(GetDlgItem(IDC_ABOUT_EMAIL))); 112 145 #pragma endregion 113 #pragma region Caption 114 { 115 #if _TRACE || defined(_WIN64) 116 CString sCaption; 117 _W(GetWindowText(sCaption)); 118 sCaption.Append(_T(" // ")); 119 #if _DEVELOPMENT 120 sCaption.Append(_T("Dev ")); 121 #endif // _DEVELOPMENT 122 sCaption.Append(_VersionInfoHelper::GetVersionString(_VersionInfoHelper::GetFileVersion(_VersionInfoHelper::GetModulePath()))); 123 #if defined(_WIN64) 124 sCaption.Append(_T(" (x64)")); 125 #endif // defined(_WIN64) 126 _W(SetWindowText(sCaption)); 127 #endif // _TRACE || defined(_WIN64) 128 } 129 #pragma endregion 146 UpdateCaption(*this); 130 147 #pragma region Window Position and Focus 131 148 _W(CenterWindow(GetParent())); … … 134 151 return FALSE; 135 152 } 136 LRESULT OnDestroy() throw()153 LRESULT OnDestroy() 137 154 { 138 155 _W(m_TitleFont.DeleteObject()); … … 140 157 return 0; 141 158 } 142 LRESULT OnCommand(UINT, INT nIdentifier, HWND) throw()159 LRESULT OnCommand(UINT, INT nIdentifier, HWND) 143 160 { 144 161 _W(EndDialog(nIdentifier)); -
trunk/Utilities/RotView/MainDialog.h
r156 r494 192 192 _W(Menu.AppendMenu(MF_SEPARATOR)); 193 193 _W(Menu.AppendMenu(MF_STRING, ID_APP_ABOUT, _T("&About..."))); 194 { 195 CString sCaption; 196 GetWindowText(sCaption); 197 CRoArrayT<CString> Array; 198 #if defined(_WIN64) 199 Array.Add(_T("64-bit")); 200 #else 201 if(SafeIsWow64Process()) 202 Array.Add(_T("32-bit")); 203 #endif // defined(_WIN64) 204 if(GetOsVersion() >= 0x00060000 && IsAdministrator()) 205 Array.Add(_T("Administrator")); 206 if(!Array.IsEmpty()) 207 { 208 sCaption.Append(AtlFormatString(_T(" (%s)"), _StringHelper::Join(Array, _T(", ")))); 209 SetWindowText(sCaption); 210 } 211 } 194 CAboutDialog::UpdateCaption(*this); 212 195 m_EntryListView.Initialize(GetDlgItem(IDC_MAIN_ENTRY)); 213 196 //m_EntryListView.SetColumnWidth(0, LVSCW_AUTOSIZE_USEHEADER); -
trunk/Utilities/RotView/RotView.sln
r156 r494 1 1 2 2 Microsoft Visual Studio Solution File, Format Version 11.00 3 # Visual Studio 201 03 # Visual Studio 2013 4 4 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RotView", "RotView.vcxproj", "{D5F58BC2-453A-4C4E-888E-9C7C511D8FD4}" 5 5 EndProject -
trunk/Utilities/RotView/RotView.vcxproj
r156 r494 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" ToolsVersion=" 4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">2 <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 3 <ItemGroup Label="ProjectConfigurations"> 4 4 <ProjectConfiguration Include="Debug|Win32"> … … 45 45 <UseOfAtl>Dynamic</UseOfAtl> 46 46 <CharacterSet>Unicode</CharacterSet> 47 <PlatformToolset>v120_xp</PlatformToolset> 47 48 </PropertyGroup> 48 49 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> … … 51 52 <UseOfAtl>Dynamic</UseOfAtl> 52 53 <CharacterSet>Unicode</CharacterSet> 54 <PlatformToolset>v120_xp</PlatformToolset> 53 55 </PropertyGroup> 54 56 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> … … 58 60 <CharacterSet>Unicode</CharacterSet> 59 61 <WholeProgramOptimization>true</WholeProgramOptimization> 62 <PlatformToolset>v120_xp</PlatformToolset> 60 63 </PropertyGroup> 61 64 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> … … 65 68 <CharacterSet>Unicode</CharacterSet> 66 69 <WholeProgramOptimization>true</WholeProgramOptimization> 70 <PlatformToolset>v120_xp</PlatformToolset> 67 71 </PropertyGroup> 68 72 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Trace|Win32'" Label="Configuration"> … … 72 76 <CharacterSet>Unicode</CharacterSet> 73 77 <WholeProgramOptimization>true</WholeProgramOptimization> 78 <PlatformToolset>v120_xp</PlatformToolset> 74 79 </PropertyGroup> 75 80 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Trace|x64'" Label="Configuration"> … … 79 84 <CharacterSet>Unicode</CharacterSet> 80 85 <WholeProgramOptimization>true</WholeProgramOptimization> 86 <PlatformToolset>v120_xp</PlatformToolset> 81 87 </PropertyGroup> 82 88 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|Win32'" Label="Configuration"> … … 86 92 <CharacterSet>Unicode</CharacterSet> 87 93 <WholeProgramOptimization>true</WholeProgramOptimization> 94 <PlatformToolset>v120_xp</PlatformToolset> 88 95 </PropertyGroup> 89 96 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|x64'" Label="Configuration"> … … 93 100 <CharacterSet>Unicode</CharacterSet> 94 101 <WholeProgramOptimization>true</WholeProgramOptimization> 102 <PlatformToolset>v120_xp</PlatformToolset> 95 103 </PropertyGroup> 96 104 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> … … 127 135 <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir> 128 136 <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir> 137 <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild> 129 138 </PropertyGroup> 130 139 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> … … 133 142 <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir> 134 143 <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir> 144 <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild> 135 145 </PropertyGroup> 136 146 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> … … 139 149 <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir> 140 150 <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir> 151 <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild> 141 152 </PropertyGroup> 142 153 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> … … 145 156 <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir> 146 157 <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir> 158 <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild> 147 159 </PropertyGroup> 148 160 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Trace|Win32'"> … … 151 163 <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir> 152 164 <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir> 165 <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild> 153 166 </PropertyGroup> 154 167 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Trace|x64'"> … … 157 170 <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir> 158 171 <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir> 172 <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild> 159 173 </PropertyGroup> 160 174 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|Win32'"> … … 163 177 <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir> 164 178 <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir> 179 <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild> 165 180 </PropertyGroup> 166 181 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|x64'"> … … 169 184 <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir> 170 185 <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir> 186 <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild> 171 187 </PropertyGroup> 172 188 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> … … 181 197 <TargetEnvironment>Win32</TargetEnvironment> 182 198 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 183 <HeaderFileName> RotView_i.h</HeaderFileName>184 <InterfaceIdentifierFileName> RotView_i.c</InterfaceIdentifierFileName>185 <ProxyFileName> RotView_p.c</ProxyFileName>186 <GenerateStublessProxies>true</GenerateStublessProxies> 187 <TypeLibraryName>$(IntDir) RotView.tlb</TypeLibraryName>199 <HeaderFileName>Module_i.h</HeaderFileName> 200 <InterfaceIdentifierFileName>Module_i.c</InterfaceIdentifierFileName> 201 <ProxyFileName>Module_p.c</ProxyFileName> 202 <GenerateStublessProxies>true</GenerateStublessProxies> 203 <TypeLibraryName>$(IntDir)Module.tlb</TypeLibraryName> 188 204 <DllDataFileName> 189 205 </DllDataFileName> … … 215 231 <MkTypLibCompatible>false</MkTypLibCompatible> 216 232 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 217 <HeaderFileName> RotView_i.h</HeaderFileName>218 <InterfaceIdentifierFileName> RotView_i.c</InterfaceIdentifierFileName>219 <ProxyFileName> RotView_p.c</ProxyFileName>220 <GenerateStublessProxies>true</GenerateStublessProxies> 221 <TypeLibraryName>$(IntDir) RotView.tlb</TypeLibraryName>233 <HeaderFileName>Module_i.h</HeaderFileName> 234 <InterfaceIdentifierFileName>Module_i.c</InterfaceIdentifierFileName> 235 <ProxyFileName>Module_p.c</ProxyFileName> 236 <GenerateStublessProxies>true</GenerateStublessProxies> 237 <TypeLibraryName>$(IntDir)Module.tlb</TypeLibraryName> 222 238 <DllDataFileName> 223 239 </DllDataFileName> … … 258 274 <TargetEnvironment>Win32</TargetEnvironment> 259 275 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 260 <HeaderFileName> RotView_i.h</HeaderFileName>261 <InterfaceIdentifierFileName> RotView_i.c</InterfaceIdentifierFileName>262 <ProxyFileName> RotView_p.c</ProxyFileName>263 <GenerateStublessProxies>true</GenerateStublessProxies> 264 <TypeLibraryName>$(IntDir) RotView.tlb</TypeLibraryName>276 <HeaderFileName>Module_i.h</HeaderFileName> 277 <InterfaceIdentifierFileName>Module_i.c</InterfaceIdentifierFileName> 278 <ProxyFileName>Module_p.c</ProxyFileName> 279 <GenerateStublessProxies>true</GenerateStublessProxies> 280 <TypeLibraryName>$(IntDir)Module.tlb</TypeLibraryName> 265 281 <DllDataFileName> 266 282 </DllDataFileName> … … 304 320 <MkTypLibCompatible>false</MkTypLibCompatible> 305 321 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 306 <HeaderFileName> RotView_i.h</HeaderFileName>307 <InterfaceIdentifierFileName> RotView_i.c</InterfaceIdentifierFileName>308 <ProxyFileName> RotView_p.c</ProxyFileName>309 <GenerateStublessProxies>true</GenerateStublessProxies> 310 <TypeLibraryName>$(IntDir) RotView.tlb</TypeLibraryName>322 <HeaderFileName>Module_i.h</HeaderFileName> 323 <InterfaceIdentifierFileName>Module_i.c</InterfaceIdentifierFileName> 324 <ProxyFileName>Module_p.c</ProxyFileName> 325 <GenerateStublessProxies>true</GenerateStublessProxies> 326 <TypeLibraryName>$(IntDir)Module.tlb</TypeLibraryName> 311 327 <DllDataFileName> 312 328 </DllDataFileName> … … 350 366 <TargetEnvironment>Win32</TargetEnvironment> 351 367 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 352 <HeaderFileName> RotView_i.h</HeaderFileName>353 <InterfaceIdentifierFileName> RotView_i.c</InterfaceIdentifierFileName>354 <ProxyFileName> RotView_p.c</ProxyFileName>355 <GenerateStublessProxies>true</GenerateStublessProxies> 356 <TypeLibraryName>$(IntDir) RotView.tlb</TypeLibraryName>368 <HeaderFileName>Module_i.h</HeaderFileName> 369 <InterfaceIdentifierFileName>Module_i.c</InterfaceIdentifierFileName> 370 <ProxyFileName>Module_p.c</ProxyFileName> 371 <GenerateStublessProxies>true</GenerateStublessProxies> 372 <TypeLibraryName>$(IntDir)Module.tlb</TypeLibraryName> 357 373 <DllDataFileName> 358 374 </DllDataFileName> … … 396 412 <MkTypLibCompatible>false</MkTypLibCompatible> 397 413 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 398 <HeaderFileName> RotView_i.h</HeaderFileName>399 <InterfaceIdentifierFileName> RotView_i.c</InterfaceIdentifierFileName>400 <ProxyFileName> RotView_p.c</ProxyFileName>401 <GenerateStublessProxies>true</GenerateStublessProxies> 402 <TypeLibraryName>$(IntDir) RotView.tlb</TypeLibraryName>414 <HeaderFileName>Module_i.h</HeaderFileName> 415 <InterfaceIdentifierFileName>Module_i.c</InterfaceIdentifierFileName> 416 <ProxyFileName>Module_p.c</ProxyFileName> 417 <GenerateStublessProxies>true</GenerateStublessProxies> 418 <TypeLibraryName>$(IntDir)Module.tlb</TypeLibraryName> 403 419 <DllDataFileName> 404 420 </DllDataFileName> … … 442 458 <TargetEnvironment>Win32</TargetEnvironment> 443 459 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 444 <HeaderFileName> RotView_i.h</HeaderFileName>445 <InterfaceIdentifierFileName> RotView_i.c</InterfaceIdentifierFileName>446 <ProxyFileName> RotView_p.c</ProxyFileName>447 <GenerateStublessProxies>true</GenerateStublessProxies> 448 <TypeLibraryName>$(IntDir) RotView.tlb</TypeLibraryName>460 <HeaderFileName>Module_i.h</HeaderFileName> 461 <InterfaceIdentifierFileName>Module_i.c</InterfaceIdentifierFileName> 462 <ProxyFileName>Module_p.c</ProxyFileName> 463 <GenerateStublessProxies>true</GenerateStublessProxies> 464 <TypeLibraryName>$(IntDir)Module.tlb</TypeLibraryName> 449 465 <DllDataFileName> 450 466 </DllDataFileName> … … 488 504 <MkTypLibCompatible>false</MkTypLibCompatible> 489 505 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 490 <HeaderFileName> RotView_i.h</HeaderFileName>491 <InterfaceIdentifierFileName> RotView_i.c</InterfaceIdentifierFileName>492 <ProxyFileName> RotView_p.c</ProxyFileName>493 <GenerateStublessProxies>true</GenerateStublessProxies> 494 <TypeLibraryName>$(IntDir) RotView.tlb</TypeLibraryName>506 <HeaderFileName>Module_i.h</HeaderFileName> 507 <InterfaceIdentifierFileName>Module_i.c</InterfaceIdentifierFileName> 508 <ProxyFileName>Module_p.c</ProxyFileName> 509 <GenerateStublessProxies>true</GenerateStublessProxies> 510 <TypeLibraryName>$(IntDir)Module.tlb</TypeLibraryName> 495 511 <DllDataFileName> 496 512 </DllDataFileName> … … 515 531 </ItemDefinitionGroup> 516 532 <ItemGroup> 517 <ClCompile Include=" RotView.cpp" />518 <ClCompile Include=" RotView_i.c">533 <ClCompile Include="Application.cpp" /> 534 <ClCompile Include="Module_i.c"> 519 535 <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged> 520 536 <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged> … … 541 557 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|x64'"> 542 558 </PrecompiledHeader> 559 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> 560 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Trace|Win32'">true</ExcludedFromBuild> 561 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|Win32'">true</ExcludedFromBuild> 562 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> 563 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> 564 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Trace|x64'">true</ExcludedFromBuild> 565 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|x64'">true</ExcludedFromBuild> 566 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> 543 567 </ClCompile> 544 568 <ClCompile Include="stdafx.cpp"> … … 557 581 <ClInclude Include="MainDialog.h" /> 558 582 <ClInclude Include="Resource.h" /> 559 <ClInclude Include="RotView_i.h" /> 583 <ClInclude Include="Module_i.h"> 584 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> 585 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Trace|Win32'">true</ExcludedFromBuild> 586 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|Win32'">true</ExcludedFromBuild> 587 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> 588 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> 589 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Trace|x64'">true</ExcludedFromBuild> 590 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|x64'">true</ExcludedFromBuild> 591 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> 592 </ClInclude> 560 593 <ClInclude Include="stdafx.h" /> 561 594 <ClInclude Include="targetver.h" /> 562 595 </ItemGroup> 563 596 <ItemGroup> 564 <ResourceCompile Include=" RotView.rc" />597 <ResourceCompile Include="Module.rc" /> 565 598 </ItemGroup> 566 599 <ItemGroup> 567 600 <None Include="Information.ico" /> 568 601 <None Include="Module.ico" /> 569 <None Include=" RotView.rgs" />602 <None Include="Module.rgs" /> 570 603 </ItemGroup> 571 604 <ItemGroup> 572 <Midl Include="RotView.idl" /> 605 <Midl Include="Module.idl"> 606 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> 607 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Trace|Win32'">true</ExcludedFromBuild> 608 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|Win32'">true</ExcludedFromBuild> 609 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> 610 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> 611 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Trace|x64'">true</ExcludedFromBuild> 612 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|x64'">true</ExcludedFromBuild> 613 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> 614 </Midl> 573 615 </ItemGroup> 574 616 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> -
trunk/Utilities/RotView/RotView.vcxproj.filters
r156 r494 23 23 <Filter>Source Files</Filter> 24 24 </ClCompile> 25 <ClCompile Include=" RotView.cpp">25 <ClCompile Include="Application.cpp"> 26 26 <Filter>Source Files</Filter> 27 27 </ClCompile> 28 <ClCompile Include=" RotView_i.c">28 <ClCompile Include="Module_i.c"> 29 29 <Filter>Generated Files</Filter> 30 30 </ClCompile> … … 40 40 <Filter>Header Files</Filter> 41 41 </ClInclude> 42 <ClInclude Include="RotView_i.h">43 <Filter>Generated Files</Filter>44 </ClInclude>45 42 <ClInclude Include="MainDialog.h"> 46 43 <Filter>Header Files</Filter> … … 49 46 <Filter>Header Files</Filter> 50 47 </ClInclude> 48 <ClInclude Include="Module_i.h"> 49 <Filter>Generated Files</Filter> 50 </ClInclude> 51 51 </ItemGroup> 52 52 <ItemGroup> 53 <ResourceCompile Include="RotView.rc">54 <Filter>Resource Files</Filter>55 </ResourceCompile>56 </ItemGroup>57 <ItemGroup>58 <None Include="RotView.rgs">59 <Filter>Resource Files</Filter>60 </None>61 53 <None Include="Module.ico"> 62 54 <Filter>Resource Files</Filter> … … 65 57 <Filter>Resource Files</Filter> 66 58 </None> 59 <None Include="Module.rgs"> 60 <Filter>Resource Files</Filter> 61 </None> 67 62 </ItemGroup> 68 63 <ItemGroup> 69 <Midl Include=" RotView.idl">64 <Midl Include="Module.idl"> 70 65 <Filter>Source Files</Filter> 71 66 </Midl> 72 67 </ItemGroup> 68 <ItemGroup> 69 <ResourceCompile Include="Module.rc"> 70 <Filter>Resource Files</Filter> 71 </ResourceCompile> 72 </ItemGroup> 73 73 </Project> -
trunk/Utilities/RotView/RotViewPS.vcxproj
r156 r494 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" ToolsVersion=" 4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">2 <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 3 <ItemGroup Label="ProjectConfigurations"> 4 4 <ProjectConfiguration Include="Debug|Win32"> … … 20 20 <UseDebugLibraries>true</UseDebugLibraries> 21 21 <CharacterSet>Unicode</CharacterSet> 22 <PlatformToolset>v120</PlatformToolset> 22 23 </PropertyGroup> 23 24 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> … … 25 26 <UseDebugLibraries>false</UseDebugLibraries> 26 27 <CharacterSet>Unicode</CharacterSet> 28 <PlatformToolset>v120</PlatformToolset> 27 29 </PropertyGroup> 28 30 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> -
trunk/Utilities/RotView/_Bin
- Property svn:ignore
-
old new 1 1 Win32 2 2 x64 3 *.pdb
-
- Property svn:ignore
-
trunk/Utilities/RotView/_Bin/Copy.bat
r156 r494 1 copy /b "Win32\Release\RotView.exe" RotView-Win32.exe 2 copy /b "x64\Release\RotView.exe" RotView-x64.exe 3 @pause 1 @set A=RotView 2 @set B=Release 3 @set C=exe 4 copy /b /y "Win32\%B%\%A%.%C%" %A%-Win32.%C%" 5 copy /b /y "Win32\%B%\%A%.pdb" %A%-Win32.pdb" 6 copy /b /y "x64\%B%\%A%.%C%" "%A%-x64.%C%" 7 copy /b /y "x64\%B%\%A%.pdb" "%A%-x64.pdb"
Note: See TracChangeset
for help on using the changeset viewer.