Diff of /PTCorrect/PTCorrect2003.vcproj [7c9a40] .. [c033de] Maximize Restore

  Switch to side-by-side view

--- a/PTCorrect/PTCorrect2003.vcproj
+++ b/PTCorrect/PTCorrect2003.vcproj
@@ -11,7 +11,7 @@
 	</Platforms>
 	<Configurations>
 		<Configuration
-			Name="Release|Win32"
+			Name="Release LIB|Win32"
 			OutputDirectory="$(ConfigurationName)"
 			IntermediateDirectory="$(ConfigurationName)"
 			ConfigurationType="2"
@@ -82,7 +82,7 @@
 				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
 		</Configuration>
 		<Configuration
-			Name="Debug|Win32"
+			Name="Debug LIB|Win32"
 			OutputDirectory="$(ConfigurationName)"
 			IntermediateDirectory="$(ConfigurationName)"
 			ConfigurationType="2"
@@ -154,7 +154,7 @@
 				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
 		</Configuration>
 		<Configuration
-			Name="DLL Debug|Win32"
+			Name="Debug DLL|Win32"
 			OutputDirectory="$(ConfigurationName)"
 			IntermediateDirectory="$(ConfigurationName)"
 			ConfigurationType="2"
@@ -224,7 +224,7 @@
 				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
 		</Configuration>
 		<Configuration
-			Name="DLL Release|Win32"
+			Name="Release DLL|Win32"
 			OutputDirectory="$(ConfigurationName)"
 			IntermediateDirectory="$(ConfigurationName)"
 			ConfigurationType="2"
@@ -304,32 +304,32 @@
 			<File
 				RelativePath="..\cpyBuf.cpp">
 				<FileConfiguration
-					Name="Release|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="2"
-						AdditionalIncludeDirectories=""
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
-						BrowseInformation="1"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Release|Win32">
+					Name="Release LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="2"
+						AdditionalIncludeDirectories=""
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
+						BrowseInformation="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug DLL|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release DLL|Win32">
 					<Tool
 						Name="VCCLCompilerTool"
 						Optimization="2"
@@ -341,32 +341,32 @@
 			<File
 				RelativePath="..\dlgAbout.cpp">
 				<FileConfiguration
-					Name="Release|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="2"
-						AdditionalIncludeDirectories=""
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
-						BrowseInformation="1"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Release|Win32">
+					Name="Release LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="2"
+						AdditionalIncludeDirectories=""
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
+						BrowseInformation="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug DLL|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release DLL|Win32">
 					<Tool
 						Name="VCCLCompilerTool"
 						Optimization="2"
@@ -378,32 +378,32 @@
 			<File
 				RelativePath="..\main.cpp">
 				<FileConfiguration
-					Name="Release|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="2"
-						AdditionalIncludeDirectories=""
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
-						BrowseInformation="1"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Release|Win32">
+					Name="Release LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="2"
+						AdditionalIncludeDirectories=""
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
+						BrowseInformation="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug DLL|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release DLL|Win32">
 					<Tool
 						Name="VCCLCompilerTool"
 						Optimization="2"
@@ -415,32 +415,32 @@
 			<File
 				RelativePath="..\memAlloc.cpp">
 				<FileConfiguration
-					Name="Release|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="2"
-						AdditionalIncludeDirectories=""
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
-						BrowseInformation="1"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Release|Win32">
+					Name="Release LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="2"
+						AdditionalIncludeDirectories=""
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
+						BrowseInformation="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug DLL|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release DLL|Win32">
 					<Tool
 						Name="VCCLCompilerTool"
 						Optimization="2"
@@ -452,39 +452,45 @@
 			<File
 				RelativePath="..\panTools.cpp">
 				<FileConfiguration
-					Name="Release|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="2"
-						AdditionalIncludeDirectories=""
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
-						BrowseInformation="1"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Release|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="2"
-						AdditionalIncludeDirectories=""
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
-						BrowseInformation="1"/>
-				</FileConfiguration>
+					Name="Release LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="2"
+						AdditionalIncludeDirectories=""
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
+						BrowseInformation="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug DLL|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release DLL|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="2"
+						AdditionalIncludeDirectories=""
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
+						BrowseInformation="1"/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\libpano\PTDialogs.c">
+			</File>
+			<File
+				RelativePath="..\..\libpano\sys_win.c">
 			</File>
 		</Filter>
 		<Filter
@@ -508,6 +514,9 @@
 			<File
 				RelativePath="resource.h">
 			</File>
+			<File
+				RelativePath="..\..\libpano\sys_win.h">
+			</File>
 		</Filter>
 		<Filter
 			Name="Resource Files"
@@ -515,32 +524,32 @@
 			<File
 				RelativePath="PTCorrect.cpp">
 				<FileConfiguration
-					Name="Release|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="2"
-						AdditionalIncludeDirectories=""
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
-						BrowseInformation="1"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Debug|Win32">
-					<Tool
-						Name="VCCLCompilerTool"
-						Optimization="0"
-						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
-						BasicRuntimeChecks="3"/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="DLL Release|Win32">
+					Name="Release LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="2"
+						AdditionalIncludeDirectories=""
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;$(NoInherit)"
+						BrowseInformation="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug LIB|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Debug DLL|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="0"
+						PreprocessorDefinitions="ISOLATION_AWARE_ENABLED;WIN32;_WINDOWS;_USRDLL;_DEBUG;_MBCS;$(NoInherit)"
+						BasicRuntimeChecks="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release DLL|Win32">
 					<Tool
 						Name="VCCLCompilerTool"
 						Optimization="2"
@@ -555,7 +564,7 @@
 			<File
 				RelativePath="PTCorrect.r">
 				<FileConfiguration
-					Name="Release|Win32">
+					Name="Release LIB|Win32">
 					<Tool
 						Name="VCCustomBuildTool"
 						CommandLine="cl /I&quot;$(PHOTOSHOP_CS2_SDK)\samplecode\common\includes&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\photoshopapi\Photoshop&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\photoshopapi\PICA_SP&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\samplecode\common\resources&quot; /EP /DWIN32=1 /Tc&quot;$(InputPath)&quot; &gt; .\&quot;$(InputName)&quot;.rr
@@ -565,7 +574,7 @@
 						Outputs=".\$(InputName).pipl"/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="Debug|Win32">
+					Name="Debug LIB|Win32">
 					<Tool
 						Name="VCCustomBuildTool"
 						CommandLine="cl /I&quot;$(PHOTOSHOP_CS2_SDK)\samplecode\common\includes&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\photoshopapi\Photoshop&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\photoshopapi\PICA_SP&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\samplecode\common\resources&quot; /EP /DWIN32=1 /Tc&quot;$(InputPath)&quot; &gt; .\&quot;$(InputName)&quot;.rr
@@ -575,7 +584,7 @@
 						Outputs=".\$(InputName).pipl"/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="DLL Debug|Win32">
+					Name="Debug DLL|Win32">
 					<Tool
 						Name="VCCustomBuildTool"
 						CommandLine="cl /I&quot;$(PHOTOSHOP_CS2_SDK)\samplecode\common\includes&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\photoshopapi\Photoshop&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\photoshopapi\PICA_SP&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\samplecode\common\resources&quot; /EP /DWIN32=1 /Tc&quot;$(InputPath)&quot; &gt; .\&quot;$(InputName)&quot;.rr
@@ -585,7 +594,7 @@
 						Outputs=".\$(InputName).pipl"/>
 				</FileConfiguration>
 				<FileConfiguration
-					Name="DLL Release|Win32">
+					Name="Release DLL|Win32">
 					<Tool
 						Name="VCCustomBuildTool"
 						CommandLine="cl /I&quot;$(PHOTOSHOP_CS2_SDK)\samplecode\common\includes&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\photoshopapi\Photoshop&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\photoshopapi\PICA_SP&quot; /I&quot;$(PHOTOSHOP_CS2_SDK)\samplecode\common\resources&quot; /EP /DWIN32=1 /Tc&quot;$(InputPath)&quot; &gt; .\&quot;$(InputName)&quot;.rr