From c027fff67b1dfed4379471ecc715c9e78d0902ba Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sat, 19 Oct 2013 23:34:44 +0100 Subject: [PATCH] Signed-off-by: Natalia Portillo Added projects for cd-drive, cd-read, iso-info, iso-read, mmc-tool, and add them to solution. Everything compiles and works. Modify iso-info so it does declare macro as expected by VS. --- MSVC/cd-drive.vcxproj | 184 ++++++++++++++++++++++++++++++++++++++++++ MSVC/cd-read.vcxproj | 184 ++++++++++++++++++++++++++++++++++++++++++ MSVC/iso-info.vcxproj | 184 ++++++++++++++++++++++++++++++++++++++++++ MSVC/iso-read.vcxproj | 184 ++++++++++++++++++++++++++++++++++++++++++ MSVC/libcdio.sln | 85 +++++++++++++++++++ MSVC/mmc-tool.vcxproj | 184 ++++++++++++++++++++++++++++++++++++++++++ src/iso-info.c | 8 ++ 7 files changed, 1013 insertions(+) create mode 100644 MSVC/cd-drive.vcxproj create mode 100644 MSVC/cd-read.vcxproj create mode 100644 MSVC/iso-info.vcxproj create mode 100644 MSVC/iso-read.vcxproj create mode 100644 MSVC/mmc-tool.vcxproj diff --git a/MSVC/cd-drive.vcxproj b/MSVC/cd-drive.vcxproj new file mode 100644 index 00000000..8916575b --- /dev/null +++ b/MSVC/cd-drive.vcxproj @@ -0,0 +1,184 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {8E55CFDB-5E38-4A07-84F8-36939C82573B} + cd-drive + Win32Proj + + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.51106.1 + + + Debug\ + Debug\ + true + + + true + + + Release\ + Release\ + false + + + false + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebug + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + EditAndContinue + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)cd-drive.exe + Debug;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)cd-drive.pdb + Console + MachineX86 + + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + x64\Debug;%(AdditionalLibraryDirectories) + true + Console + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)cd-drive.exe + Release;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)$(ProjectName).pdb + Console + true + true + MachineX86 + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + x64\Release;%(AdditionalLibraryDirectories) + true + Console + true + true + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MSVC/cd-read.vcxproj b/MSVC/cd-read.vcxproj new file mode 100644 index 00000000..2c794638 --- /dev/null +++ b/MSVC/cd-read.vcxproj @@ -0,0 +1,184 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {8E55CFDB-5E38-4A07-84F8-36939C82573A} + cd-read + Win32Proj + + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.51106.1 + + + Debug\ + Debug\ + true + + + true + + + Release\ + Release\ + false + + + false + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebug + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + EditAndContinue + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)cd-read.exe + Debug;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)cd-read.pdb + Console + MachineX86 + + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + x64\Debug;%(AdditionalLibraryDirectories) + true + Console + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)cd-read.exe + Release;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)$(ProjectName).pdb + Console + true + true + MachineX86 + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + x64\Release;%(AdditionalLibraryDirectories) + true + Console + true + true + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MSVC/iso-info.vcxproj b/MSVC/iso-info.vcxproj new file mode 100644 index 00000000..2b38dcfa --- /dev/null +++ b/MSVC/iso-info.vcxproj @@ -0,0 +1,184 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {8E55CFDB-5E38-4A07-84F8-36939C825737} + iso-info + Win32Proj + + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.51106.1 + + + Debug\ + Debug\ + true + + + true + + + Release\ + Release\ + false + + + false + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebug + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + EditAndContinue + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)iso-info.exe + Debug;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)iso-info.pdb + Console + MachineX86 + + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + x64\Debug;%(AdditionalLibraryDirectories) + true + Console + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)iso-info.exe + Release;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)$(ProjectName).pdb + Console + true + true + MachineX86 + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + x64\Release;%(AdditionalLibraryDirectories) + true + Console + true + true + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MSVC/iso-read.vcxproj b/MSVC/iso-read.vcxproj new file mode 100644 index 00000000..e4043be3 --- /dev/null +++ b/MSVC/iso-read.vcxproj @@ -0,0 +1,184 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {8E55CFDB-5E38-4A07-84F8-36939C825738} + iso-read + Win32Proj + + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.51106.1 + + + Debug\ + Debug\ + true + + + true + + + Release\ + Release\ + false + + + false + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebug + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + EditAndContinue + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)iso-read.exe + Debug;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)iso-read.pdb + Console + MachineX86 + + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + x64\Debug;%(AdditionalLibraryDirectories) + true + Console + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)iso-read.exe + Release;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)$(ProjectName).pdb + Console + true + true + MachineX86 + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + x64\Release;%(AdditionalLibraryDirectories) + true + Console + true + true + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MSVC/libcdio.sln b/MSVC/libcdio.sln index a4072bc8..4e3455a4 100644 --- a/MSVC/libcdio.sln +++ b/MSVC/libcdio.sln @@ -7,6 +7,31 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cd-info", "cd-info.vcxproj" {E465056A-C6F3-45EE-B791-CAF8E0CE629D} = {E465056A-C6F3-45EE-B791-CAF8E0CE629D} EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cd-drive", "cd-drive.vcxproj", "{8E55CFDB-5E38-4A07-84F8-36939C82573B}" + ProjectSection(ProjectDependencies) = postProject + {E465056A-C6F3-45EE-B791-CAF8E0CE629D} = {E465056A-C6F3-45EE-B791-CAF8E0CE629D} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cd-read", "cd-read.vcxproj", "{8E55CFDB-5E38-4A07-84F8-36939C82573A}" + ProjectSection(ProjectDependencies) = postProject + {E465056A-C6F3-45EE-B791-CAF8E0CE629D} = {E465056A-C6F3-45EE-B791-CAF8E0CE629D} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iso-info", "iso-info.vcxproj", "{8E55CFDB-5E38-4A07-84F8-36939C825737}" + ProjectSection(ProjectDependencies) = postProject + {E465056A-C6F3-45EE-B791-CAF8E0CE629D} = {E465056A-C6F3-45EE-B791-CAF8E0CE629D} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iso-read", "iso-read.vcxproj", "{8E55CFDB-5E38-4A07-84F8-36939C825738}" + ProjectSection(ProjectDependencies) = postProject + {E465056A-C6F3-45EE-B791-CAF8E0CE629D} = {E465056A-C6F3-45EE-B791-CAF8E0CE629D} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mmc-tool", "mmc-tool.vcxproj", "{8E55CFDB-5E38-4A07-84F8-36939C825739}" + ProjectSection(ProjectDependencies) = postProject + {E465056A-C6F3-45EE-B791-CAF8E0CE629D} = {E465056A-C6F3-45EE-B791-CAF8E0CE629D} + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -31,6 +56,66 @@ Global {8E55CFDB-5E38-4A07-84F8-36939C825735}.Release|Win32.Build.0 = Release|Win32 {8E55CFDB-5E38-4A07-84F8-36939C825735}.Release|x64.ActiveCfg = Release|x64 {8E55CFDB-5E38-4A07-84F8-36939C825735}.Release|x64.Build.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Debug|Win32.ActiveCfg = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Debug|Win32.Build.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Debug|Win32.Deploy.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Debug|x64.ActiveCfg = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Debug|x64.Build.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Debug|x64.Deploy.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Release|Win32.ActiveCfg = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Release|Win32.Build.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Release|Win32.Deploy.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Release|x64.ActiveCfg = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Release|x64.Build.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573B}.Release|x64.Deploy.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Debug|Win32.ActiveCfg = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Debug|Win32.Build.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Debug|Win32.Deploy.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Debug|x64.ActiveCfg = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Debug|x64.Build.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Debug|x64.Deploy.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Release|Win32.ActiveCfg = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Release|Win32.Build.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Release|Win32.Deploy.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Release|x64.ActiveCfg = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Release|x64.Build.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C82573A}.Release|x64.Deploy.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Debug|Win32.ActiveCfg = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Debug|Win32.Build.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Debug|Win32.Deploy.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Debug|x64.ActiveCfg = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Debug|x64.Build.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Debug|x64.Deploy.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Release|Win32.ActiveCfg = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Release|Win32.Build.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Release|Win32.Deploy.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Release|x64.ActiveCfg = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Release|x64.Build.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825737}.Release|x64.Deploy.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Debug|Win32.ActiveCfg = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Debug|Win32.Build.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Debug|Win32.Deploy.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Debug|x64.ActiveCfg = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Debug|x64.Build.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Debug|x64.Deploy.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Release|Win32.ActiveCfg = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Release|Win32.Build.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Release|Win32.Deploy.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Release|x64.ActiveCfg = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Release|x64.Build.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825738}.Release|x64.Deploy.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Debug|Win32.ActiveCfg = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Debug|Win32.Build.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Debug|Win32.Deploy.0 = Debug|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Debug|x64.ActiveCfg = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Debug|x64.Build.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Debug|x64.Deploy.0 = Debug|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Release|Win32.ActiveCfg = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Release|Win32.Build.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Release|Win32.Deploy.0 = Release|Win32 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Release|x64.ActiveCfg = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Release|x64.Build.0 = Release|x64 + {8E55CFDB-5E38-4A07-84F8-36939C825739}.Release|x64.Deploy.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MSVC/mmc-tool.vcxproj b/MSVC/mmc-tool.vcxproj new file mode 100644 index 00000000..47ec7bee --- /dev/null +++ b/MSVC/mmc-tool.vcxproj @@ -0,0 +1,184 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {8E55CFDB-5E38-4A07-84F8-36939C825739} + mmc-tool + Win32Proj + + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + Application + v110 + MultiByte + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>11.0.51106.1 + + + Debug\ + Debug\ + true + + + true + + + Release\ + Release\ + false + + + false + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebug + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + EditAndContinue + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)mmc-tool.exe + Debug;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)mmc-tool.pdb + Console + MachineX86 + + + + + Disabled + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdiod.lib;msvcrtd.lib;winmm.lib;%(AdditionalDependencies) + x64\Debug;%(AdditionalLibraryDirectories) + true + Console + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + $(ProjectName)/$(OutDir)mmc-tool.exe + Release;%(AdditionalLibraryDirectories) + true + $(ProjectName)/$(OutDir)$(ProjectName).pdb + Console + true + true + MachineX86 + + + + + ..\MSVC;..\include;..\src;..\lib\driver;..\lib\iso9660;..\lib\udf;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H;HAVE_WINDOWS_H;%(PreprocessorDefinitions) + MultiThreaded + + + $(ProjectName)/$(IntDir) + $(ProjectName)/$(IntDir)vc70.pdb + Level3 + ProgramDatabase + + + libcdio.lib;msvcrt.lib;winmm.lib;%(AdditionalDependencies) + x64\Release;%(AdditionalLibraryDirectories) + true + Console + true + true + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/iso-info.c b/src/iso-info.c index b4c04b95..d20e7172 100644 --- a/src/iso-info.c +++ b/src/iso-info.c @@ -21,11 +21,19 @@ #include "util.h" #undef err_exit +#ifdef _MSC_VER +#define err_exit(fmt, args, ...) \ + report (stderr, "%s: "fmt, program_name, ##args); \ + iso9660_close(p_iso); \ + free(program_name); \ + return(EXIT_FAILURE); +#else #define err_exit(fmt, args...) \ report (stderr, "%s: "fmt, program_name, ##args); \ iso9660_close(p_iso); \ free(program_name); \ return(EXIT_FAILURE); +#endif #ifdef HAVE_CONFIG_H # include "config.h"