diff options
-rw-r--r-- | db3x_autobackups/backup.c | 2 | ||||
-rw-r--r-- | db3x_autobackups/db3x_mmap.vcproj | 478 | ||||
-rw-r--r-- | db3x_autobackups/db3x_mmap_8.vcproj | 19 |
3 files changed, 172 insertions, 327 deletions
diff --git a/db3x_autobackups/backup.c b/db3x_autobackups/backup.c index 92560d0..43ef4fb 100644 --- a/db3x_autobackups/backup.c +++ b/db3x_autobackups/backup.c @@ -32,8 +32,6 @@ extern HINSTANCE g_hInst; extern Options options;
-struct DBHeader dbHeader;
-
UINT timer_id = 0;
void Map();
diff --git a/db3x_autobackups/db3x_mmap.vcproj b/db3x_autobackups/db3x_mmap.vcproj index 1cd4b84..c2c865a 100644 --- a/db3x_autobackups/db3x_mmap.vcproj +++ b/db3x_autobackups/db3x_mmap.vcproj @@ -1,49 +1,26 @@ <?xml version="1.0" encoding="windows-1251"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8.00"
+ Version="7.10"
Name="db3x_mmap"
ProjectGUID="{20D781FB-4A20-4B75-B863-304A47182966}"
- RootNamespace="db3x_mmap"
- >
+ SccProjectName=""
+ SccAuxPath=""
+ SccLocalPath=""
+ SccProvider="">
<Platforms>
<Platform
- Name="Win32"
- />
+ Name="Win32"/>
</Platforms>
- <ToolFiles>
- </ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)/Plugins"
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\Debug/db3x.tlb"
- />
+ ATLMinimizesCRunTimeLibraryUsage="FALSE"
+ CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
@@ -51,187 +28,126 @@ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
- UsePrecompiledHeader="2"
+ UsePrecompiledHeader="3"
PrecompiledHeaderThrough="commonheaders.h"
BrowseInformation="1"
WarningLevel="3"
- SuppressStartupBanner="true"
+ SuppressStartupBanner="TRUE"
DebugInformationFormat="3"
- CompileAs="0"
- DisableSpecificWarnings="4996"
- />
+ CompileAs="0"/>
<Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="2057"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
+ Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
OutputFile="$(OutDir)/dbx_mmap.dll"
LinkIncremental="2"
- SuppressStartupBanner="true"
- GenerateDebugInformation="true"
- />
+ SuppressStartupBanner="TRUE"
+ GenerateDebugInformation="TRUE"/>
<Tool
- Name="VCALinkTool"
- />
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="TRUE"
+ SuppressStartupBanner="TRUE"
+ TargetEnvironment="1"
+ TypeLibraryName=".\Debug/db3x.tlb"/>
<Tool
- Name="VCManifestTool"
- />
+ Name="VCPostBuildEventTool"/>
<Tool
- Name="VCXDCMakeTool"
- />
+ Name="VCPreBuildEventTool"/>
<Tool
- Name="VCBscMakeTool"
- />
+ Name="VCPreLinkEventTool"/>
<Tool
- Name="VCFxCopTool"
- />
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="2057"/>
<Tool
- Name="VCAppVerifierTool"
- />
+ Name="VCWebServiceProxyGeneratorTool"/>
<Tool
- Name="VCWebDeploymentTool"
- />
+ Name="VCXMLDataGeneratorTool"/>
<Tool
- Name="VCPostBuildEventTool"
- />
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)/Plugins"
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\Release/db3x.tlb"
- />
+ ATLMinimizesCRunTimeLibraryUsage="FALSE"
+ CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="3"
+ GlobalOptimizations="TRUE"
InlineFunctionExpansion="1"
FavorSizeOrSpeed="2"
- OmitFramePointers="true"
+ OmitFramePointers="TRUE"
AdditionalIncludeDirectories="../../include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS"
- StringPooling="true"
+ StringPooling="TRUE"
RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="2"
+ EnableFunctionLevelLinking="TRUE"
+ UsePrecompiledHeader="3"
PrecompiledHeaderThrough="commonheaders.h"
WarningLevel="3"
- SuppressStartupBanner="true"
+ SuppressStartupBanner="TRUE"
DebugInformationFormat="3"
- CompileAs="0"
- DisableSpecificWarnings="4996"
- />
+ CompileAs="0"/>
<Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="2057"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
+ Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
OutputFile="$(OutDir)/dbx_mmap.dll"
LinkIncremental="1"
- SuppressStartupBanner="true"
- GenerateDebugInformation="true"
- GenerateMapFile="true"
+ SuppressStartupBanner="TRUE"
+ GenerateDebugInformation="TRUE"
+ GenerateMapFile="TRUE"
OptimizeReferences="2"
EnableCOMDATFolding="2"
OptimizeForWindows98="1"
- BaseAddress="0x5130000"
- />
+ BaseAddress="0x5130000"/>
<Tool
- Name="VCALinkTool"
- />
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="TRUE"
+ SuppressStartupBanner="TRUE"
+ TargetEnvironment="1"
+ TypeLibraryName=".\Release/db3x.tlb"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
<Tool
- Name="VCManifestTool"
- />
+ Name="VCPreLinkEventTool"/>
<Tool
- Name="VCXDCMakeTool"
- />
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="2057"/>
<Tool
- Name="VCBscMakeTool"
- />
+ Name="VCWebServiceProxyGeneratorTool"/>
<Tool
- Name="VCFxCopTool"
- />
+ Name="VCXMLDataGeneratorTool"/>
<Tool
- Name="VCAppVerifierTool"
- />
+ Name="VCWebDeploymentTool"/>
<Tool
- Name="VCWebDeploymentTool"
- />
+ Name="VCManagedWrapperGeneratorTool"/>
<Tool
- Name="VCPostBuildEventTool"
- />
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Debug Unicode|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)/Plugins"
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\Debug/db3x.tlb"
- />
+ ATLMinimizesCRunTimeLibraryUsage="FALSE"
+ CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
@@ -239,156 +155,119 @@ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
- BufferSecurityCheck="true"
- UsePrecompiledHeader="2"
+ BufferSecurityCheck="TRUE"
+ UsePrecompiledHeader="3"
PrecompiledHeaderThrough="commonheaders.h"
BrowseInformation="1"
WarningLevel="3"
- SuppressStartupBanner="true"
+ SuppressStartupBanner="TRUE"
DebugInformationFormat="3"
- CompileAs="0"
- DisableSpecificWarnings="4996"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="2057"
- />
+ CompileAs="0"/>
<Tool
- Name="VCPreLinkEventTool"
- />
+ Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
- IgnoreImportLibrary="true"
+ IgnoreImportLibrary="TRUE"
AdditionalOptions="/MACHINE:I386"
OutputFile="$(OutDir)/dbx_mmap.dll"
LinkIncremental="2"
- SuppressStartupBanner="true"
- GenerateDebugInformation="true"
- />
+ SuppressStartupBanner="TRUE"
+ GenerateDebugInformation="TRUE"/>
<Tool
- Name="VCALinkTool"
- />
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="_DEBUG"
+ MkTypLibCompatible="TRUE"
+ SuppressStartupBanner="TRUE"
+ TargetEnvironment="1"
+ TypeLibraryName=".\Debug/db3x.tlb"/>
<Tool
- Name="VCManifestTool"
- />
+ Name="VCPostBuildEventTool"/>
<Tool
- Name="VCXDCMakeTool"
- />
+ Name="VCPreBuildEventTool"/>
<Tool
- Name="VCBscMakeTool"
- />
+ Name="VCPreLinkEventTool"/>
<Tool
- Name="VCFxCopTool"
- />
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG"
+ Culture="2057"/>
<Tool
- Name="VCAppVerifierTool"
- />
+ Name="VCWebServiceProxyGeneratorTool"/>
<Tool
- Name="VCWebDeploymentTool"
- />
+ Name="VCXMLDataGeneratorTool"/>
<Tool
- Name="VCPostBuildEventTool"
- />
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Release Unicode|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)/Plugins"
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
+ ATLMinimizesCRunTimeLibraryUsage="FALSE"
CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\Release/db3x.tlb"
- />
+ WholeProgramOptimization="FALSE">
<Tool
Name="VCCLCompilerTool"
Optimization="3"
+ GlobalOptimizations="TRUE"
FavorSizeOrSpeed="2"
- OmitFramePointers="false"
+ OmitFramePointers="FALSE"
+ OptimizeForProcessor="0"
AdditionalIncludeDirectories="../../include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;DB3X_EXPORTS"
- StringPooling="true"
+ StringPooling="TRUE"
RuntimeLibrary="2"
- BufferSecurityCheck="true"
- UsePrecompiledHeader="2"
+ BufferSecurityCheck="TRUE"
+ UsePrecompiledHeader="3"
PrecompiledHeaderThrough="commonheaders.h"
WarningLevel="3"
- SuppressStartupBanner="true"
+ SuppressStartupBanner="TRUE"
DebugInformationFormat="3"
- CompileAs="0"
- DisableSpecificWarnings="4996"
- />
+ CompileAs="0"/>
<Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="2057"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
+ Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
- IgnoreImportLibrary="true"
+ IgnoreImportLibrary="TRUE"
AdditionalOptions="/MACHINE:I386"
OutputFile="$(OutDir)/dbx_mmap.dll"
- GenerateDebugInformation="true"
- GenerateMapFile="true"
+ GenerateDebugInformation="TRUE"
+ GenerateMapFile="TRUE"
OptimizeReferences="2"
EnableCOMDATFolding="2"
OptimizeForWindows98="1"
- BaseAddress="0x5130000"
- />
+ BaseAddress="0x5130000"/>
<Tool
- Name="VCALinkTool"
- />
+ Name="VCMIDLTool"
+ PreprocessorDefinitions="NDEBUG"
+ MkTypLibCompatible="TRUE"
+ SuppressStartupBanner="TRUE"
+ TargetEnvironment="1"
+ TypeLibraryName=".\Release/db3x.tlb"/>
<Tool
- Name="VCManifestTool"
- />
+ Name="VCPostBuildEventTool"/>
<Tool
- Name="VCXDCMakeTool"
- />
+ Name="VCPreBuildEventTool"/>
<Tool
- Name="VCBscMakeTool"
- />
+ Name="VCPreLinkEventTool"/>
<Tool
- Name="VCFxCopTool"
- />
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG"
+ Culture="2057"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
<Tool
- Name="VCAppVerifierTool"
- />
+ Name="VCXMLDataGeneratorTool"/>
<Tool
- Name="VCWebDeploymentTool"
- />
+ Name="VCWebDeploymentTool"/>
<Tool
- Name="VCPostBuildEventTool"
- />
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References>
@@ -396,129 +275,80 @@ <Files>
<Filter
Name="Source Files"
- Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
- >
- <File
- RelativePath=".\backup.c"
- >
- </File>
+ Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
- RelativePath=".\commonheaders.c"
- >
+ RelativePath=".\commonheaders.c">
<FileConfiguration
- Name="Debug|Win32"
- >
+ Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
+ UsePrecompiledHeader="1"/>
</FileConfiguration>
<FileConfiguration
- Name="Release|Win32"
- >
+ Name="Release|Win32">
<Tool
Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
+ UsePrecompiledHeader="1"/>
</FileConfiguration>
<FileConfiguration
- Name="Debug Unicode|Win32"
- >
+ Name="Debug Unicode|Win32">
<Tool
Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
+ UsePrecompiledHeader="1"/>
</FileConfiguration>
<FileConfiguration
- Name="Release Unicode|Win32"
- >
+ Name="Release Unicode|Win32">
<Tool
Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"
- />
+ UsePrecompiledHeader="1"/>
</FileConfiguration>
</File>
<File
- RelativePath=".\database.c"
- >
- </File>
- <File
- RelativePath=".\dbcache.c"
- >
+ RelativePath=".\database.c">
</File>
<File
- RelativePath=".\dbcontacts.c"
- >
+ RelativePath=".\dbcache.c">
</File>
<File
- RelativePath=".\dbevents.c"
- >
+ RelativePath=".\dbcontacts.c">
</File>
<File
- RelativePath=".\dbheaders.c"
- >
+ RelativePath=".\dbevents.c">
</File>
<File
- RelativePath=".\dbmodulechain.c"
- >
+ RelativePath=".\dbheaders.c">
</File>
<File
- RelativePath=".\dbsettings.c"
- >
+ RelativePath=".\dbmodulechain.c">
</File>
<File
- RelativePath=".\encrypt.c"
- >
+ RelativePath=".\dbsettings.c">
</File>
<File
- RelativePath=".\finalcommand.c"
- >
+ RelativePath=".\encrypt.c">
</File>
<File
- RelativePath=".\init.c"
- >
- </File>
- <File
- RelativePath=".\options.c"
- >
+ RelativePath=".\init.c">
</File>
</Filter>
<Filter
Name="Header Files"
- Filter="h;hpp;hxx;hm;inl"
- >
+ Filter="h;hpp;hxx;hm;inl">
<File
- RelativePath=".\commonheaders.h"
- >
+ RelativePath=".\commonheaders.h">
</File>
<File
- RelativePath=".\database.h"
- >
- </File>
- <File
- RelativePath=".\options.h"
- >
- </File>
- <File
- RelativePath=".\resource.h"
- >
+ RelativePath=".\database.h">
</File>
</Filter>
<Filter
Name="Resource Files"
- Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
- >
- <File
- RelativePath=".\db3x_mmap.rc"
- >
- </File>
+ Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
<File
- RelativePath=".\icon1.ico"
- >
+ RelativePath=".\db3x_mmap.rc">
</File>
<File
- RelativePath=".\version.rc"
- >
+ RelativePath=".\version.rc">
</File>
</Filter>
</Files>
diff --git a/db3x_autobackups/db3x_mmap_8.vcproj b/db3x_autobackups/db3x_mmap_8.vcproj index 9680777..d893e27 100644 --- a/db3x_autobackups/db3x_mmap_8.vcproj +++ b/db3x_autobackups/db3x_mmap_8.vcproj @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="windows-1251"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8,00"
+ Version="8.00"
Name="db3x_mmap"
ProjectGUID="{20D781FB-4A20-4B75-B863-304A47182966}"
RootNamespace="db3x_mmap"
@@ -402,6 +402,7 @@ />
<Tool
Name="VCPostBuildEventTool"
+ CommandLine="sync.bat"
/>
</Configuration>
</Configurations>
@@ -413,6 +414,10 @@ Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
<File
+ RelativePath=".\backup.c"
+ >
+ </File>
+ <File
RelativePath=".\commonheaders.c"
>
<FileConfiguration
@@ -611,6 +616,10 @@ </FileConfiguration>
</File>
<File
+ RelativePath=".\finalcommand.c"
+ >
+ </File>
+ <File
RelativePath=".\init.c"
>
<FileConfiguration
@@ -630,6 +639,10 @@ />
</FileConfiguration>
</File>
+ <File
+ RelativePath=".\options.c"
+ >
+ </File>
</Filter>
<Filter
Name="Header Files"
@@ -643,6 +656,10 @@ RelativePath=".\database.h"
>
</File>
+ <File
+ RelativePath=".\options.h"
+ >
+ </File>
</Filter>
<Filter
Name="Resource Files"
|