From 166ce1782786feaa7dc166009d7ded14f81b2877 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 2 Oct 2018 01:19:02 -0400 Subject: [PATCH] Upgrade project files to Visual Studio 2017, add static lib project (Issue #226) --- .gitignore | 11 + vcnet/mxml.sln | 67 ++++-- vcnet/mxml1.vcproj | 424 --------------------------------- vcnet/mxml1.vcxproj | 215 +++++++++++++++++ vcnet/mxml1.vcxproj.filters | 65 +++++ vcnet/mxml1.vcxproj.user | 4 + vcnet/mxmldoc.vcproj | 364 ---------------------------- vcnet/mxmldoc.vcxproj | 212 +++++++++++++++++ vcnet/mxmldoc.vcxproj.filters | 39 +++ vcnet/mxmldoc.vcxproj.user | 4 + vcnet/mxmlstat.vcxproj | 184 ++++++++++++++ vcnet/mxmlstat.vcxproj.filters | 57 +++++ vcnet/mxmlstat.vcxproj.user | 4 + vcnet/packages.config | 5 + vcnet/testmxml.vcproj | 364 ---------------------------- vcnet/testmxml.vcxproj | 194 +++++++++++++++ vcnet/testmxml.vcxproj.filters | 22 ++ vcnet/testmxml.vcxproj.user | 4 + zipc.c | 4 + zipc.h | 4 + 20 files changed, 1071 insertions(+), 1176 deletions(-) delete mode 100644 vcnet/mxml1.vcproj create mode 100644 vcnet/mxml1.vcxproj create mode 100644 vcnet/mxml1.vcxproj.filters create mode 100644 vcnet/mxml1.vcxproj.user delete mode 100644 vcnet/mxmldoc.vcproj create mode 100644 vcnet/mxmldoc.vcxproj create mode 100644 vcnet/mxmldoc.vcxproj.filters create mode 100644 vcnet/mxmldoc.vcxproj.user create mode 100644 vcnet/mxmlstat.vcxproj create mode 100644 vcnet/mxmlstat.vcxproj.filters create mode 100644 vcnet/mxmlstat.vcxproj.user create mode 100644 vcnet/packages.config delete mode 100644 vcnet/testmxml.vcproj create mode 100644 vcnet/testmxml.vcxproj create mode 100644 vcnet/testmxml.vcxproj.filters create mode 100644 vcnet/testmxml.vcxproj.user diff --git a/.gitignore b/.gitignore index e83fa2f..8275645 100644 --- a/.gitignore +++ b/.gitignore @@ -26,5 +26,16 @@ temp1.xmlfd test.xmlfd testmxml test1.xml +vcnet/.vs +vcnet/Debug +vcnet/Release +vcnet/mxml1.dll +vcnet/mxml1.exp +vcnet/mxml1.ilk +vcnet/mxml1.lib +vcnet/mxmldoc.exe +vcnet/mxmlstat.lib +vcnet/packages +vcnet/testmxml.exe xcode/mxml.xcodeproj/project.xcworkspace xcode/mxml.xcodeproj/xcuserdata diff --git a/vcnet/mxml.sln b/vcnet/mxml.sln index 94c8ac6..83bffcc 100644 --- a/vcnet/mxml.sln +++ b/vcnet/mxml.sln @@ -1,12 +1,20 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 +# Visual Studio 15 +VisualStudioVersion = 15.0.28010.2036 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mxmldoc", "mxmldoc.vcxproj", "{D909892E-520A-4322-9A47-DAEBDA9CC7A7}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mxml1", "mxml1.vcxproj", "{E5AA9476-9751-4654-8109-B1A2112D5E73}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mxmldoc", "mxmldoc.vcxproj", "{D909892E-520A-4322-9A47-DAEBDA9CC7A7}" + ProjectSection(ProjectDependencies) = postProject + {E5AA9476-9751-4654-8109-B1A2112D5E73} = {E5AA9476-9751-4654-8109-B1A2112D5E73} + EndProjectSection +EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testmxml", "testmxml.vcxproj", "{75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}" + ProjectSection(ProjectDependencies) = postProject + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958} = {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mxmlstat", "mxmlstat.vcxproj", "{CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -16,32 +24,43 @@ Global Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|Win32.ActiveCfg = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|Win32.Build.0 = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|x64.ActiveCfg = Debug|x64 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|x64.Build.0 = Debug|x64 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|Win32.ActiveCfg = Release|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|Win32.Build.0 = Release|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|x64.ActiveCfg = Release|x64 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|x64.Build.0 = Release|x64 {E5AA9476-9751-4654-8109-B1A2112D5E73}.Debug|Win32.ActiveCfg = Debug|Win32 {E5AA9476-9751-4654-8109-B1A2112D5E73}.Debug|Win32.Build.0 = Debug|Win32 - {E5AA9476-9751-4654-8109-B1A2112D5E73}.Debug|x64.ActiveCfg = Debug|x64 - {E5AA9476-9751-4654-8109-B1A2112D5E73}.Debug|x64.Build.0 = Debug|x64 - {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|Win32.ActiveCfg = Release|Win32 - {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|Win32.Build.0 = Release|Win32 - {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|x64.ActiveCfg = Release|x64 - {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|x64.Build.0 = Release|x64 + {E5AA9476-9751-4654-8109-B1A2112D5E73}.Debug|x64.ActiveCfg = Debug|Win32 + {E5AA9476-9751-4654-8109-B1A2112D5E73}.Debug|x64.Build.0 = Debug|Win32 + {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|Win32.ActiveCfg = Debug|Win32 + {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|Win32.Build.0 = Debug|Win32 + {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|x64.ActiveCfg = Debug|Win32 + {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|x64.Build.0 = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|Win32.ActiveCfg = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|Win32.Build.0 = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|x64.ActiveCfg = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|x64.Build.0 = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|Win32.ActiveCfg = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|Win32.Build.0 = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|x64.ActiveCfg = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|x64.Build.0 = Debug|Win32 {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Debug|Win32.ActiveCfg = Debug|Win32 {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Debug|Win32.Build.0 = Debug|Win32 - {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Debug|x64.ActiveCfg = Debug|x64 - {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Debug|x64.Build.0 = Debug|x64 - {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Release|Win32.ActiveCfg = Release|Win32 - {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Release|Win32.Build.0 = Release|Win32 - {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Release|x64.ActiveCfg = Release|x64 - {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Release|x64.Build.0 = Release|x64 + {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Debug|x64.ActiveCfg = Debug|Win32 + {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Debug|x64.Build.0 = Debug|Win32 + {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Release|Win32.ActiveCfg = Debug|Win32 + {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Release|Win32.Build.0 = Debug|Win32 + {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Release|x64.ActiveCfg = Debug|Win32 + {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Release|x64.Build.0 = Debug|Win32 + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958}.Debug|Win32.ActiveCfg = Debug|Win32 + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958}.Debug|Win32.Build.0 = Debug|Win32 + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958}.Debug|x64.ActiveCfg = Debug|Win32 + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958}.Debug|x64.Build.0 = Debug|Win32 + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958}.Release|Win32.ActiveCfg = Debug|Win32 + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958}.Release|Win32.Build.0 = Debug|Win32 + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958}.Release|x64.ActiveCfg = Debug|Win32 + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958}.Release|x64.Build.0 = Debug|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {0876C64C-2CF1-4A1B-974E-240A38E0EDCA} + EndGlobalSection EndGlobal diff --git a/vcnet/mxml1.vcproj b/vcnet/mxml1.vcproj deleted file mode 100644 index 8144c8f..0000000 --- a/vcnet/mxml1.vcproj +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vcnet/mxml1.vcxproj b/vcnet/mxml1.vcxproj new file mode 100644 index 0000000..43c5131 --- /dev/null +++ b/vcnet/mxml1.vcxproj @@ -0,0 +1,215 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {E5AA9476-9751-4654-8109-B1A2112D5E73} + Win32Proj + 8.1 + + + + DynamicLibrary + v141 + MultiByte + + + DynamicLibrary + v141 + MultiByte + + + DynamicLibrary + v141 + MultiByte + + + DynamicLibrary + v141 + MultiByte + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>15.0.27924.0 + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + true + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + false + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + true + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + false + + + + Disabled + ..\vcnet;..;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;MXML1_EXPORTS;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level1 + EditAndContinue + + + mxml1.dll + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + .\mxml1.def + true + $(OutDir)mxml1.pdb + Windows + false + + mxml1.lib + MachineX86 + + + + + ..\vcnet;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;MXML1_EXPORTS;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level1 + ProgramDatabase + + + mxml1.dll + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + .\mxml1.def + false + Windows + true + true + false + + mxml1.lib + MachineX86 + + + + + X64 + + + Disabled + ..\vcnet;..;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;MXML1_EXPORTS;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level1 + ProgramDatabase + + + mxml1.dll + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + .\mxml1.def + true + $(OutDir)mxml1.pdb + Windows + false + + mxml1.lib + MachineX64 + + + + + X64 + + + ..\vcnet;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;MXML1_EXPORTS;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level1 + ProgramDatabase + + + mxml1.dll + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + .\mxml1.def + false + Windows + true + true + false + + mxml1.lib + MachineX64 + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vcnet/mxml1.vcxproj.filters b/vcnet/mxml1.vcxproj.filters new file mode 100644 index 0000000..5ae42ef --- /dev/null +++ b/vcnet/mxml1.vcxproj.filters @@ -0,0 +1,65 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + + + Resource Files + + + \ No newline at end of file diff --git a/vcnet/mxml1.vcxproj.user b/vcnet/mxml1.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/mxml1.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/mxmldoc.vcproj b/vcnet/mxmldoc.vcproj deleted file mode 100644 index 5ae9cb1..0000000 --- a/vcnet/mxmldoc.vcproj +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vcnet/mxmldoc.vcxproj b/vcnet/mxmldoc.vcxproj new file mode 100644 index 0000000..a288010 --- /dev/null +++ b/vcnet/mxmldoc.vcxproj @@ -0,0 +1,212 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {D909892E-520A-4322-9A47-DAEBDA9CC7A7} + Win32Proj + 8.1 + + + + Application + v141 + MultiByte + + + Application + v141 + MultiByte + + + Application + v141 + MultiByte + + + Application + v141 + MultiByte + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>15.0.27924.0 + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + true + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + false + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + true + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + false + + + + Disabled + ../vcnet;..;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level3 + EditAndContinue + + + ../mxmldoc.exe + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + true + $(OutDir)mxmldoc.pdb + Console + false + + MachineX86 + zlibstatic.lib;mxml1.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + + + + ../vcnet;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level3 + ProgramDatabase + + + ../mxmldoc.exe + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + true + Console + true + true + false + + MachineX86 + zlibstatic.lib;mxml1.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + + + + X64 + + + Disabled + ../vcnet;..;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level3 + ProgramDatabase + + + ../mxmldoc.exe + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + true + $(OutDir)mxmldoc.pdb + Console + false + + MachineX64 + zlibstatic.lib;mxml1.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + + + + X64 + + + ../vcnet;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level3 + ProgramDatabase + + + ../mxmldoc.exe + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + true + Console + true + true + false + + MachineX64 + zlibstatic.lib;mxml1.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + + + + + + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/vcnet/mxmldoc.vcxproj.filters b/vcnet/mxmldoc.vcxproj.filters new file mode 100644 index 0000000..3b273c7 --- /dev/null +++ b/vcnet/mxmldoc.vcxproj.filters @@ -0,0 +1,39 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx + + + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + + + + \ No newline at end of file diff --git a/vcnet/mxmldoc.vcxproj.user b/vcnet/mxmldoc.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/mxmldoc.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/mxmlstat.vcxproj b/vcnet/mxmlstat.vcxproj new file mode 100644 index 0000000..7cb7309 --- /dev/null +++ b/vcnet/mxmlstat.vcxproj @@ -0,0 +1,184 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + + + + + + + + + + + + + + + + 15.0 + {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958} + Win32Proj + mxmlstat + 8.1 + + + + StaticLibrary + true + v141 + Unicode + + + StaticLibrary + false + v141 + true + Unicode + + + StaticLibrary + true + v141 + Unicode + + + StaticLibrary + false + v141 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + + + true + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + + + false + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + + + false + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + + + + NotUsing + Level3 + Disabled + true + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) + true + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + + Windows + true + + + + + NotUsing + Level3 + Disabled + true + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) + true + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + + Windows + true + + + + + NotUsing + Level3 + MaxSpeed + true + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) + true + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + + Windows + true + true + true + + + + + NotUsing + Level3 + MaxSpeed + true + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) + true + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + + Windows + true + true + true + + + + + + \ No newline at end of file diff --git a/vcnet/mxmlstat.vcxproj.filters b/vcnet/mxmlstat.vcxproj.filters new file mode 100644 index 0000000..cf58753 --- /dev/null +++ b/vcnet/mxmlstat.vcxproj.filters @@ -0,0 +1,57 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/vcnet/mxmlstat.vcxproj.user b/vcnet/mxmlstat.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/mxmlstat.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/packages.config b/vcnet/packages.config new file mode 100644 index 0000000..06e849a --- /dev/null +++ b/vcnet/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/vcnet/testmxml.vcproj b/vcnet/testmxml.vcproj deleted file mode 100644 index 3cf1e25..0000000 --- a/vcnet/testmxml.vcproj +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vcnet/testmxml.vcxproj b/vcnet/testmxml.vcxproj new file mode 100644 index 0000000..b371f88 --- /dev/null +++ b/vcnet/testmxml.vcxproj @@ -0,0 +1,194 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227} + Win32Proj + 8.1 + + + + Application + v141 + MultiByte + + + Application + v141 + MultiByte + + + Application + v141 + MultiByte + + + Application + v141 + MultiByte + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>15.0.27924.0 + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + true + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + false + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + true + + + $(Configuration)\$(Platform)\$(ProjectName)\ + $(Configuration)\$(Platform)\$(ProjectName)\ + false + + + + Disabled + ../vcnet;..;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level3 + EditAndContinue + + + ../testmxml.exe + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + true + $(OutDir)testmxml.pdb + Console + false + + MachineX86 + $(Configuration)\$(Platform)\mxmlstat\mxmlstat.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + + + + ../vcnet;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level3 + ProgramDatabase + + + ../testmxml.exe + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + true + Console + true + true + false + + MachineX86 + $(Configuration)\$(Platform)\mxmlstat\mxmlstat.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + + + + X64 + + + Disabled + ../vcnet;..;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level3 + ProgramDatabase + + + ../testmxml.exe + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + true + $(OutDir)testmxml.pdb + Console + false + + MachineX64 + $(Configuration)\$(Platform)\mxmlstat\mxmlstat.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + + + + X64 + + + ../vcnet;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level3 + ProgramDatabase + + + ../testmxml.exe + oldnames.lib;%(IgnoreSpecificDefaultLibraries) + true + Console + true + true + false + + MachineX64 + $(Configuration)\$(Platform)\mxmlstat\mxmlstat.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + + + + + + + + \ No newline at end of file diff --git a/vcnet/testmxml.vcxproj.filters b/vcnet/testmxml.vcxproj.filters new file mode 100644 index 0000000..6df4c3c --- /dev/null +++ b/vcnet/testmxml.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx + + + + + Source Files + + + \ No newline at end of file diff --git a/vcnet/testmxml.vcxproj.user b/vcnet/testmxml.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/testmxml.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/zipc.c b/zipc.c index f1ce119..bc2cb6e 100644 --- a/zipc.c +++ b/zipc.c @@ -35,6 +35,10 @@ * Include necessary headers... */ +#ifdef WIN32 +# define _CRT_SECURE_NO_WARNINGS /* Disable warnings for standard library functions */ +#endif /* WIN32 */ + #include "zipc.h" #include #include diff --git a/zipc.h b/zipc.h index e7bd978..580404a 100644 --- a/zipc.h +++ b/zipc.h @@ -42,6 +42,10 @@ * Types... */ +# ifdef WIN32 +typedef long ssize_t; +# endif /* WIN32 */ + typedef struct _zipc_s zipc_t; /* ZIP container */ typedef struct _zipc_file_s zipc_file_t;/* File/directory in ZIP container */