Changeset 494


Ignore:
Timestamp:
Jul 25, 2015, 10:13:05 AM (9 years ago)
Author:
roman
Message:

VS2013 upgrade and Windows 8 fix

Location:
trunk/Utilities/RotView
Files:
4 added
6 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/RotView/AboutDialog.h

    r156 r494  
    11////////////////////////////////////////////////////////////
    2 // Copyright (C) Roman Ryltsov, 2012-2013
     2// Copyright (C) Roman Ryltsov, 2006-2015
    33// 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.
    47
    58#pragma once
    69
     10#include <atlsecurity.h>
    711#include <atlctrls.h>
    812#include <atlctrlx.h>
     
    3539public:
    3640// CAboutDialog
    37         static CFontHandle CreateTitleFont() throw()
     41        static CFontHandle CreateTitleFont()
    3842        {
    3943                CLogFont LogFont;
     
    4145                LogFont.lfWeight = FW_BOLD;
    4246                LogFont.lfItalic = TRUE;
    43                 _tcsncpy_s(LogFont.lfFaceName, _countof(LogFont.lfFaceName), _T("Arial"), _TRUNCATE);
     47                _tcsncpy_s(LogFont.lfFaceName, _T("Arial"), _TRUNCATE);
    4448                CFont Font;
    4549                _W(Font.CreateFontIndirect(&LogFont));
    4650                return Font.Detach();
    4751        }
    48         static CFontHandle CreateDisclaimerFont() throw()
     52        static CFontHandle CreateDisclaimerFont()
    4953        {
    5054                CLogFont LogFont;
    5155                LogFont.lfHeight = -MulDiv(7, GetDeviceCaps(CClientDC(GetDesktopWindow()), LOGPIXELSY), 72);
    5256                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);
    5458                CFont Font;
    5559                _W(Font.CreateFontIndirect(&LogFont));
    5660                return Font.Detach();
    5761        }
    58         CAboutDialog() throw()
     62        CAboutDialog()
    5963        {
    60                 _Z4(atlTraceRefcount, 4, _T("this 0x%p\n"), this);
     64                _Z4_THIS();
    6165        }
    62         ~CAboutDialog() throw()
     66        ~CAboutDialog()
    6367        {
    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);
    6598        }
    6699
     
    111144                _W(m_EmailHyperStatic.SubclassWindow(GetDlgItem(IDC_ABOUT_EMAIL)));
    112145                #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);
    130147                #pragma region Window Position and Focus
    131148                _W(CenterWindow(GetParent()));
     
    134151                return FALSE;
    135152        }
    136         LRESULT OnDestroy() throw()
     153        LRESULT OnDestroy()
    137154        {
    138155                _W(m_TitleFont.DeleteObject());
     
    140157                return 0;
    141158        }
    142         LRESULT OnCommand(UINT, INT nIdentifier, HWND) throw()
     159        LRESULT OnCommand(UINT, INT nIdentifier, HWND)
    143160        {
    144161                _W(EndDialog(nIdentifier));
  • trunk/Utilities/RotView/MainDialog.h

    r156 r494  
    192192                _W(Menu.AppendMenu(MF_SEPARATOR));
    193193                _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);
    212195                m_EntryListView.Initialize(GetDlgItem(IDC_MAIN_ENTRY));
    213196                //m_EntryListView.SetColumnWidth(0, LVSCW_AUTOSIZE_USEHEADER);
  • trunk/Utilities/RotView/RotView.sln

    r156 r494  
    11
    22Microsoft Visual Studio Solution File, Format Version 11.00
    3 # Visual Studio 2010
     3# Visual Studio 2013
    44Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RotView", "RotView.vcxproj", "{D5F58BC2-453A-4C4E-888E-9C7C511D8FD4}"
    55EndProject
  • trunk/Utilities/RotView/RotView.vcxproj

    r156 r494  
    11<?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">
    33  <ItemGroup Label="ProjectConfigurations">
    44    <ProjectConfiguration Include="Debug|Win32">
     
    4545    <UseOfAtl>Dynamic</UseOfAtl>
    4646    <CharacterSet>Unicode</CharacterSet>
     47    <PlatformToolset>v120_xp</PlatformToolset>
    4748  </PropertyGroup>
    4849  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     
    5152    <UseOfAtl>Dynamic</UseOfAtl>
    5253    <CharacterSet>Unicode</CharacterSet>
     54    <PlatformToolset>v120_xp</PlatformToolset>
    5355  </PropertyGroup>
    5456  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     
    5860    <CharacterSet>Unicode</CharacterSet>
    5961    <WholeProgramOptimization>true</WholeProgramOptimization>
     62    <PlatformToolset>v120_xp</PlatformToolset>
    6063  </PropertyGroup>
    6164  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     
    6568    <CharacterSet>Unicode</CharacterSet>
    6669    <WholeProgramOptimization>true</WholeProgramOptimization>
     70    <PlatformToolset>v120_xp</PlatformToolset>
    6771  </PropertyGroup>
    6872  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Trace|Win32'" Label="Configuration">
     
    7276    <CharacterSet>Unicode</CharacterSet>
    7377    <WholeProgramOptimization>true</WholeProgramOptimization>
     78    <PlatformToolset>v120_xp</PlatformToolset>
    7479  </PropertyGroup>
    7580  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Trace|x64'" Label="Configuration">
     
    7984    <CharacterSet>Unicode</CharacterSet>
    8085    <WholeProgramOptimization>true</WholeProgramOptimization>
     86    <PlatformToolset>v120_xp</PlatformToolset>
    8187  </PropertyGroup>
    8288  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|Win32'" Label="Configuration">
     
    8692    <CharacterSet>Unicode</CharacterSet>
    8793    <WholeProgramOptimization>true</WholeProgramOptimization>
     94    <PlatformToolset>v120_xp</PlatformToolset>
    8895  </PropertyGroup>
    8996  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|x64'" Label="Configuration">
     
    93100    <CharacterSet>Unicode</CharacterSet>
    94101    <WholeProgramOptimization>true</WholeProgramOptimization>
     102    <PlatformToolset>v120_xp</PlatformToolset>
    95103  </PropertyGroup>
    96104  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
     
    127135    <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir>
    128136    <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir>
     137    <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
    129138  </PropertyGroup>
    130139  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
     
    133142    <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir>
    134143    <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir>
     144    <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
    135145  </PropertyGroup>
    136146  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     
    139149    <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir>
    140150    <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir>
     151    <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
    141152  </PropertyGroup>
    142153  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
     
    145156    <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir>
    146157    <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir>
     158    <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
    147159  </PropertyGroup>
    148160  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Trace|Win32'">
     
    151163    <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir>
    152164    <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir>
     165    <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
    153166  </PropertyGroup>
    154167  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Trace|x64'">
     
    157170    <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir>
    158171    <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir>
     172    <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
    159173  </PropertyGroup>
    160174  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|Win32'">
     
    163177    <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir>
    164178    <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir>
     179    <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
    165180  </PropertyGroup>
    166181  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|x64'">
     
    169184    <OutDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\</OutDir>
    170185    <IntDir>$(SolutionDir)_Bin\$(PlatformName)\$(Configuration)\$(ProjectName)\</IntDir>
     186    <PostBuildEventUseInBuild>false</PostBuildEventUseInBuild>
    171187  </PropertyGroup>
    172188  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     
    181197      <TargetEnvironment>Win32</TargetEnvironment>
    182198      <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>
    188204      <DllDataFileName>
    189205      </DllDataFileName>
     
    215231      <MkTypLibCompatible>false</MkTypLibCompatible>
    216232      <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>
    222238      <DllDataFileName>
    223239      </DllDataFileName>
     
    258274      <TargetEnvironment>Win32</TargetEnvironment>
    259275      <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>
    265281      <DllDataFileName>
    266282      </DllDataFileName>
     
    304320      <MkTypLibCompatible>false</MkTypLibCompatible>
    305321      <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>
    311327      <DllDataFileName>
    312328      </DllDataFileName>
     
    350366      <TargetEnvironment>Win32</TargetEnvironment>
    351367      <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>
    357373      <DllDataFileName>
    358374      </DllDataFileName>
     
    396412      <MkTypLibCompatible>false</MkTypLibCompatible>
    397413      <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>
    403419      <DllDataFileName>
    404420      </DllDataFileName>
     
    442458      <TargetEnvironment>Win32</TargetEnvironment>
    443459      <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>
    449465      <DllDataFileName>
    450466      </DllDataFileName>
     
    488504      <MkTypLibCompatible>false</MkTypLibCompatible>
    489505      <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>
    495511      <DllDataFileName>
    496512      </DllDataFileName>
     
    515531  </ItemDefinitionGroup>
    516532  <ItemGroup>
    517     <ClCompile Include="RotView.cpp" />
    518     <ClCompile Include="RotView_i.c">
     533    <ClCompile Include="Application.cpp" />
     534    <ClCompile Include="Module_i.c">
    519535      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
    520536      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
     
    541557      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Development Release Trace|x64'">
    542558      </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>
    543567    </ClCompile>
    544568    <ClCompile Include="stdafx.cpp">
     
    557581    <ClInclude Include="MainDialog.h" />
    558582    <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>
    560593    <ClInclude Include="stdafx.h" />
    561594    <ClInclude Include="targetver.h" />
    562595  </ItemGroup>
    563596  <ItemGroup>
    564     <ResourceCompile Include="RotView.rc" />
     597    <ResourceCompile Include="Module.rc" />
    565598  </ItemGroup>
    566599  <ItemGroup>
    567600    <None Include="Information.ico" />
    568601    <None Include="Module.ico" />
    569     <None Include="RotView.rgs" />
     602    <None Include="Module.rgs" />
    570603  </ItemGroup>
    571604  <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>
    573615  </ItemGroup>
    574616  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  • trunk/Utilities/RotView/RotView.vcxproj.filters

    r156 r494  
    2323      <Filter>Source Files</Filter>
    2424    </ClCompile>
    25     <ClCompile Include="RotView.cpp">
     25    <ClCompile Include="Application.cpp">
    2626      <Filter>Source Files</Filter>
    2727    </ClCompile>
    28     <ClCompile Include="RotView_i.c">
     28    <ClCompile Include="Module_i.c">
    2929      <Filter>Generated Files</Filter>
    3030    </ClCompile>
     
    4040      <Filter>Header Files</Filter>
    4141    </ClInclude>
    42     <ClInclude Include="RotView_i.h">
    43       <Filter>Generated Files</Filter>
    44     </ClInclude>
    4542    <ClInclude Include="MainDialog.h">
    4643      <Filter>Header Files</Filter>
     
    4946      <Filter>Header Files</Filter>
    5047    </ClInclude>
     48    <ClInclude Include="Module_i.h">
     49      <Filter>Generated Files</Filter>
     50    </ClInclude>
    5151  </ItemGroup>
    5252  <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>
    6153    <None Include="Module.ico">
    6254      <Filter>Resource Files</Filter>
     
    6557      <Filter>Resource Files</Filter>
    6658    </None>
     59    <None Include="Module.rgs">
     60      <Filter>Resource Files</Filter>
     61    </None>
    6762  </ItemGroup>
    6863  <ItemGroup>
    69     <Midl Include="RotView.idl">
     64    <Midl Include="Module.idl">
    7065      <Filter>Source Files</Filter>
    7166    </Midl>
    7267  </ItemGroup>
     68  <ItemGroup>
     69    <ResourceCompile Include="Module.rc">
     70      <Filter>Resource Files</Filter>
     71    </ResourceCompile>
     72  </ItemGroup>
    7373</Project>
  • trunk/Utilities/RotView/RotViewPS.vcxproj

    r156 r494  
    11<?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">
    33  <ItemGroup Label="ProjectConfigurations">
    44    <ProjectConfiguration Include="Debug|Win32">
     
    2020    <UseDebugLibraries>true</UseDebugLibraries>
    2121    <CharacterSet>Unicode</CharacterSet>
     22    <PlatformToolset>v120</PlatformToolset>
    2223  </PropertyGroup>
    2324  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     
    2526    <UseDebugLibraries>false</UseDebugLibraries>
    2627    <CharacterSet>Unicode</CharacterSet>
     28    <PlatformToolset>v120</PlatformToolset>
    2729  </PropertyGroup>
    2830  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  • trunk/Utilities/RotView/_Bin

    • Property svn:ignore
      •  

        old new  
        11Win32
        22x64
         3*.pdb
  • 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
     4copy /b /y "Win32\%B%\%A%.%C%" %A%-Win32.%C%"
     5copy /b /y "Win32\%B%\%A%.pdb" %A%-Win32.pdb"
     6copy /b /y "x64\%B%\%A%.%C%" "%A%-x64.%C%"
     7copy /b /y "x64\%B%\%A%.pdb" "%A%-x64.pdb"
Note: See TracChangeset for help on using the changeset viewer.