OSDN Git Service

Add support for process protection (prevents from loading untrustworthy DLLs with...
[ffftp/ffftp.git] / FFFTP.vc90.vcproj
index ab1b0aa..ba3fc8b 100644 (file)
@@ -16,8 +16,8 @@
        <Configurations>
                <Configuration
                        Name="Debug|Win32"
-                       OutputDirectory="."
-                       IntermediateDirectory=".\debug"
+                       OutputDirectory=".\Debug"
+                       IntermediateDirectory=".\Debug"
                        ConfigurationType="1"
                        InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
                        UseOfMFC="0"
@@ -41,7 +41,7 @@
                                MkTypLibCompatible="true"
                                SuppressStartupBanner="true"
                                TargetEnvironment="1"
-                               TypeLibraryName="./FFFTP.tlb"
+                               TypeLibraryName=".\Debug\FFFTP.tlb"
                        />
                        <Tool
                                Name="VCCLCompilerTool"
                                AdditionalIncludeDirectories="Resource"
                                PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,_WIN32_IE=0x300,_CRT_SECURE_NO_WARNINGS"
                                RuntimeLibrary="1"
-                               PrecompiledHeaderFile=".\debug/FFFTP.pch"
-                               AssemblerListingLocation=".\debug/"
-                               ObjectFile=".\debug/"
-                               ProgramDataBaseFileName=".\debug/"
+                               PrecompiledHeaderFile=".\Debug\FFFTP.pch"
+                               AssemblerListingLocation=".\Debug\"
+                               ObjectFile=".\Debug\"
+                               ProgramDataBaseFileName=".\Debug\"
                                WarningLevel="3"
                                SuppressStartupBanner="true"
                                DebugInformationFormat="4"
                        <Tool
                                Name="VCLinkerTool"
                                AdditionalOptions="/MACHINE:I386"
-                               AdditionalDependencies="wsock32.lib comctl32.lib winmm.lib htmlhelp.lib"
-                               OutputFile="./FFFTP.exe"
+                               AdditionalDependencies="wsock32.lib comctl32.lib winmm.lib rasapi32.lib htmlhelp.lib sfc.lib wintrust.lib"
+                               OutputFile=".\Debug\FFFTP.exe"
                                LinkIncremental="2"
                                SuppressStartupBanner="true"
+                               GenerateManifest="false"
+                               DelayLoadDLLs="advapi32.dll;comctl32.dll;comdlg32.dll;gdi32.dll;sfc.dll;shell32.dll;ole32.dll;user32.dll;winmm.dll;wintrust.dll;wsock32.dll"
                                GenerateDebugInformation="true"
-                               ProgramDatabaseFile="./FFFTP.pdb"
+                               ProgramDatabaseFile=".\Debug\FFFTP.pdb"
                                SubSystem="2"
                                RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                </Configuration>
                <Configuration
                        Name="Release|Win32"
-                       OutputDirectory="."
+                       OutputDirectory=".\Release"
                        IntermediateDirectory=".\Release"
                        ConfigurationType="1"
                        InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
                                MkTypLibCompatible="true"
                                SuppressStartupBanner="true"
                                TargetEnvironment="1"
-                               TypeLibraryName="./FFFTP.tlb"
+                               TypeLibraryName=".\Release\FFFTP.tlb"
                        />
                        <Tool
                                Name="VCCLCompilerTool"
                                StringPooling="true"
                                RuntimeLibrary="0"
                                EnableFunctionLevelLinking="true"
-                               PrecompiledHeaderFile=".\Release/FFFTP.pch"
-                               AssemblerListingLocation=".\Release/"
-                               ObjectFile=".\Release/"
-                               ProgramDataBaseFileName=".\Release/"
+                               PrecompiledHeaderFile=".\Release\FFFTP.pch"
+                               AssemblerListingLocation=".\Release\"
+                               ObjectFile=".\Release\"
+                               ProgramDataBaseFileName=".\Release\"
                                WarningLevel="3"
                                SuppressStartupBanner="true"
                                DebugInformationFormat="0"
                        <Tool
                                Name="VCLinkerTool"
                                AdditionalOptions="/MACHINE:I386"
-                               AdditionalDependencies="wsock32.lib comctl32.lib winmm.lib RASAPI32.LIB htmlhelp.lib"
-                               OutputFile="./FFFTP.exe"
+                               AdditionalDependencies="wsock32.lib comctl32.lib winmm.lib rasapi32.lib htmlhelp.lib sfc.lib wintrust.lib"
+                               OutputFile=".\Release\FFFTP.exe"
                                LinkIncremental="1"
                                SuppressStartupBanner="true"
-                               GenerateDebugInformation="false"
-                               ProgramDatabaseFile="./FFFTP.pdb"
+                               GenerateManifest="false"
+                               DelayLoadDLLs="advapi32.dll;comctl32.dll;comdlg32.dll;gdi32.dll;sfc.dll;shell32.dll;ole32.dll;user32.dll;winmm.dll;wintrust.dll;wsock32.dll"
+                               ProgramDatabaseFile=".\Release\FFFTP.pdb"
                                SubSystem="2"
                                RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                >
                        </File>
                        <File
+                               RelativePath=".\protectprocess.c"
+                               >
+                       </File>
+                       <File
                                RelativePath=".\ras.c"
                                >
                        </File>
                                >
                        </File>
                        <File
+                               RelativePath=".\socketwrapper.c"
+                               >
+                       </File>
+                       <File
                                RelativePath=".\statuswin.c"
                                >
                        </File>
                                >
                        </File>
                        <File
+                               RelativePath=".\protectprocess.h"
+                               >
+                       </File>
+                       <File
                                RelativePath=".\Resource\resource.h"
                                >
                        </File>
+                       <File
+                               RelativePath=".\socketwrapper.h"
+                               >
+                       </File>
                </Filter>
                <Filter
                        Name="Resource Files"
                                >
                        </File>
                        <File
-                               RelativePath=".\Resource\ico00001.ico"
-                               >
-                       </File>
-                       <File
                                RelativePath=".\Resource\icon1.ico"
                                >
                        </File>