diff --git a/Crypto/Crypto_vs140.vcxproj.filters b/Crypto/Crypto_vs140.vcxproj.filters
deleted file mode 100644
index 489e410f67..0000000000
--- a/Crypto/Crypto_vs140.vcxproj.filters
+++ /dev/null
@@ -1,213 +0,0 @@
-
-
-
-
- {60a8c7e2-2faa-4d2f-9395-a8a7b0b27799}
-
-
- {5810f1ac-f1a0-4eec-805c-4f10c8731258}
-
-
- {079a0514-d9e9-4c7e-814e-7bc6941f7492}
-
-
- {d9e32eb5-0f20-4262-8c04-ce30a11b5278}
-
-
- {4d5ddd1e-5b34-493d-b3e6-696b3950239d}
-
-
- {52e2d122-9409-4b00-bb5d-8596e350271f}
-
-
- {dc9887bc-80fa-4400-8ae3-798d0216e70e}
-
-
- {9af8f56b-58e6-471c-99dd-649f82bb513d}
-
-
- {e986c9a0-8d5f-4ece-b226-97b00f75c36b}
-
-
- {815003c3-868c-4edb-b8fc-71239f111d12}
-
-
- {83254184-d4b3-4e90-aaf8-6185be913f80}
-
-
- {975ee625-4d9c-42c8-a51a-5ae6c152f3f7}
-
-
- {3ab5ac8f-2b83-4dfc-9603-0dac69d52013}
-
-
- {8b978dca-eb5f-4437-a1c2-4491c531c24e}
-
-
- {0a3d66e4-a2fd-41a2-b579-95aa9bd44595}
-
-
- {a612ef80-bf86-4cd6-912c-ba726353cc2a}
-
-
- {c46a2637-5bab-4cf6-93c0-d09d784e65f6}
-
-
- {e84f7326-3466-4a9e-bba3-1b0c4885717a}
-
-
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- RSA\Header Files
-
-
- RSA\Header Files
-
-
- RSA\Header Files
-
-
- RSA\Header Files
-
-
- Certificate\Header Files
-
-
- Certificate\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- Digest\Header Files
-
-
- EC\Header Files
-
-
- EC\Header Files
-
-
- EC\Header Files
-
-
- EC\Header Files
-
-
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- RSA\Source Files
-
-
- RSA\Source Files
-
-
- RSA\Source Files
-
-
- RSA\Source Files
-
-
- Certificate\Source Files
-
-
- Certificate\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- Digest\Source Files
-
-
- EC\Source Files
-
-
- EC\Source Files
-
-
- EC\Source Files
-
-
- EC\Source Files
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Crypto/Crypto_vs150.vcxproj b/Crypto/Crypto_vs150.vcxproj
deleted file mode 100644
index 66fe829871..0000000000
--- a/Crypto/Crypto_vs150.vcxproj
+++ /dev/null
@@ -1,663 +0,0 @@
-
-
-
-
- debug_shared
- Win32
-
-
- debug_shared
- x64
-
-
- debug_static_md
- Win32
-
-
- debug_static_md
- x64
-
-
- debug_static_mt
- Win32
-
-
- debug_static_mt
- x64
-
-
- release_shared
- Win32
-
-
- release_shared
- x64
-
-
- release_static_md
- Win32
-
-
- release_static_md
- x64
-
-
- release_static_mt
- Win32
-
-
- release_static_mt
- x64
-
-
-
- Crypto
- {EEEE7259-32E9-4D56-B023-C733940AB2A0}
- Crypto
- Win32Proj
-
-
-
- StaticLibrary
- MultiByte
- v141
-
-
- StaticLibrary
- MultiByte
- v141
-
-
- StaticLibrary
- MultiByte
- v141
-
-
- StaticLibrary
- MultiByte
- v141
-
-
- DynamicLibrary
- MultiByte
- v141
-
-
- DynamicLibrary
- MultiByte
- v141
-
-
- StaticLibrary
- MultiByte
- v141
-
-
- StaticLibrary
- MultiByte
- v141
-
-
- StaticLibrary
- MultiByte
- v141
-
-
- StaticLibrary
- MultiByte
- v141
-
-
- DynamicLibrary
- MultiByte
- v141
-
-
- DynamicLibrary
- MultiByte
- v141
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>15.0.28307.799
- PocoCryptod
- PocoCryptomdd
- PocoCryptomtd
- PocoCrypto
- PocoCryptomd
- PocoCryptomt
- PocoCrypto64d
- PocoCryptomdd
- PocoCryptomtd
- PocoCrypto64
- PocoCryptomd
- PocoCryptomt
-
-
- ..\bin\
- obj\Crypto\$(Configuration)\
- true
-
-
- ..\bin\
- obj\Crypto\$(Configuration)\
- false
-
-
- ..\lib\
- obj\Crypto\$(Configuration)\
-
-
- ..\lib\
- obj\Crypto\$(Configuration)\
-
-
- ..\lib\
- obj\Crypto\$(Configuration)\
-
-
- ..\lib\
- obj\Crypto\$(Configuration)\
-
-
- ..\bin64\
- obj64\Crypto\$(Configuration)\
- true
-
-
- ..\bin64\
- obj64\Crypto\$(Configuration)\
- false
-
-
- ..\lib64\
- obj64\Crypto\$(Configuration)\
-
-
- ..\lib64\
- obj64\Crypto\$(Configuration)\
-
-
- ..\lib64\
- obj64\Crypto\$(Configuration)\
-
-
- ..\lib64\
- obj64\Crypto\$(Configuration)\
-
-
-
- Disabled
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;_USRDLL;Crypto_EXPORTS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- ..\bin\PocoCryptod.dll
- true
- true
- ..\bin\PocoCryptod.pdb
- ..\lib;%(AdditionalLibraryDirectories)
- Console
- ..\lib\PocoCryptod.lib
- MachineX86
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;_USRDLL;Crypto_EXPORTS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- ..\bin\PocoCrypto.dll
- true
- false
- ..\lib;%(AdditionalLibraryDirectories)
- Console
- true
- true
- ..\lib\PocoCrypto.lib
- MachineX86
-
-
-
-
- Disabled
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebug
- true
- true
- true
- true
-
- ..\lib\PocoCryptomtd.pdb
- Level3
- ProgramDatabase
- Default
- true
-
-
- ..\lib\PocoCryptomtd.lib
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)
- true
- MultiThreaded
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- ..\lib\PocoCryptomt.lib
-
-
-
-
- Disabled
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- ..\lib\PocoCryptomdd.pdb
- Level3
- ProgramDatabase
- Default
- true
-
-
- ..\lib\PocoCryptomdd.lib
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- ..\lib\PocoCryptomd.pdb
- Level3
-
- Default
- true
-
-
- ws2_32.lib;iphlpapi.lib;Crypt32.lib;%(AdditionalDependencies)
- ..\lib\PocoCryptomd.lib
-
-
-
-
- Disabled
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;_USRDLL;Crypto_EXPORTS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- ..\bin64\PocoCrypto64d.dll
- true
- true
- ..\bin64\PocoCrypto64d.pdb
- ..\lib64;%(AdditionalLibraryDirectories)
- Console
- ..\lib64\PocoCryptod.lib
- MachineX64
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;_USRDLL;Crypto_EXPORTS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- ..\bin64\PocoCrypto64.dll
- true
- false
- ..\lib64;%(AdditionalLibraryDirectories)
- Console
- true
- true
- ..\lib64\PocoCrypto.lib
- MachineX64
-
-
-
-
- Disabled
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebug
- true
- true
- true
- true
-
- ..\lib64\PocoCryptomtd.pdb
- Level3
- ProgramDatabase
- Default
- true
-
-
- ..\lib64\PocoCryptomtd.lib
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)
- true
- MultiThreaded
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- ..\lib64\PocoCryptomt.lib
-
-
-
-
- Disabled
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- ..\lib64\PocoCryptomdd.pdb
- Level3
- ProgramDatabase
- Default
- true
-
-
- ..\lib64\PocoCryptomdd.lib
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- .\include;..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;POCO_STATIC;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- ..\lib64\PocoCryptomd.lib
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
-
-
- true
- true
- true
- true
- true
- true
- true
- true
-
-
-
-
-
diff --git a/Crypto/Crypto_vs150.vcxproj.filters b/Crypto/Crypto_vs150.vcxproj.filters
deleted file mode 100644
index 3e30674e9d..0000000000
--- a/Crypto/Crypto_vs150.vcxproj.filters
+++ /dev/null
@@ -1,213 +0,0 @@
-
-
-
-
- {75698788-03bc-4370-ab55-99d48c973dce}
-
-
- {bcaac4d6-7340-4f39-9b36-724a1408f06c}
-
-
- {e455849b-48cb-431b-983f-30c955a93552}
-
-
- {b3905243-9455-4c38-a56e-1edaf52d18c3}
-
-
- {8541c53c-aa29-4062-9029-6ba5ab950d9a}
-
-
- {43690a3d-2085-46bd-8722-a153c2170f3e}
-
-
- {c7c75237-17b5-443e-b48d-d276bedafb7e}
-
-
- {ca5d30c0-a95e-413d-a182-8ee7dfed0bff}
-
-
- {cd24b06b-7900-4c1f-b1a3-8d5b2110ef46}
-
-
- {ef3bafde-f2e0-4779-b50a-bcb066c09583}
-
-
- {deb5208b-9e44-47da-b191-718552850f5f}
-
-
- {01df9f00-078a-4cca-829a-d7421dfe4a43}
-
-
- {08b5b434-275e-46a4-a528-b6da06cc5691}
-
-
- {d7cb049c-8340-4eda-899a-27c4d0ff3746}
-
-
- {7e05b39f-e6ff-4225-8527-eb37bbcdfb18}
-
-
- {3c7f4c55-1189-43b5-a9f6-5debd66906ba}
-
-
- {c3c69023-452b-455e-902a-684735fc89c7}
-
-
- {f3238968-0490-44f5-8031-00edec99904c}
-
-
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- Cipher\Header Files
-
-
- RSA\Header Files
-
-
- RSA\Header Files
-
-
- RSA\Header Files
-
-
- RSA\Header Files
-
-
- Certificate\Header Files
-
-
- Certificate\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- CryptoCore\Header Files
-
-
- Digest\Header Files
-
-
- EC\Header Files
-
-
- EC\Header Files
-
-
- EC\Header Files
-
-
- EC\Header Files
-
-
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- Cipher\Source Files
-
-
- RSA\Source Files
-
-
- RSA\Source Files
-
-
- RSA\Source Files
-
-
- RSA\Source Files
-
-
- Certificate\Source Files
-
-
- Certificate\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- CryptoCore\Source Files
-
-
- Digest\Source Files
-
-
- EC\Source Files
-
-
- EC\Source Files
-
-
- EC\Source Files
-
-
- EC\Source Files
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Crypto/testsuite/TestSuite_vs140.vcxproj b/Crypto/testsuite/TestSuite_vs140.vcxproj
deleted file mode 100644
index de77af4b09..0000000000
--- a/Crypto/testsuite/TestSuite_vs140.vcxproj
+++ /dev/null
@@ -1,641 +0,0 @@
-
-
-
-
- debug_shared
- Win32
-
-
- debug_shared
- x64
-
-
- debug_static_md
- Win32
-
-
- debug_static_md
- x64
-
-
- debug_static_mt
- Win32
-
-
- debug_static_mt
- x64
-
-
- release_shared
- Win32
-
-
- release_shared
- x64
-
-
- release_static_md
- Win32
-
-
- release_static_md
- x64
-
-
- release_static_mt
- Win32
-
-
- release_static_mt
- x64
-
-
-
- TestSuite
- {C1B1BB96-5198-48EB-AB48-9A0A0B54FB15}
- TestSuite
- Win32Proj
-
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
- Application
- MultiByte
- v140
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>14.0.25420.1
- TestSuited
- TestSuited
- TestSuited
- TestSuite
- TestSuite
- TestSuite
- TestSuited
- TestSuited
- TestSuited
- TestSuite
- TestSuite
- TestSuite
-
-
- bin\
- obj\TestSuite\$(Configuration)\
- true
-
-
- bin\
- obj\TestSuite\$(Configuration)\
- false
-
-
- bin\static_mt\
- obj\TestSuite\$(Configuration)\
- true
-
-
- bin\static_mt\
- obj\TestSuite\$(Configuration)\
- false
-
-
- bin\static_md\
- obj\TestSuite\$(Configuration)\
- true
-
-
- bin\static_md\
- obj\TestSuite\$(Configuration)\
- false
-
-
- bin64\
- obj64\TestSuite\$(Configuration)\
- true
-
-
- bin64\
- obj64\TestSuite\$(Configuration)\
- false
-
-
- bin64\static_mt\
- obj64\TestSuite\$(Configuration)\
- true
-
-
- bin64\static_mt\
- obj64\TestSuite\$(Configuration)\
- false
-
-
- bin64\static_md\
- obj64\TestSuite\$(Configuration)\
- true
-
-
- bin64\static_md\
- obj64\TestSuite\$(Configuration)\
- false
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitd.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin\TestSuited.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- true
- true
- bin\TestSuited.pdb
- Console
- MachineX86
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnit.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin\TestSuite.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX86
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebug
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitmtd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;Crypt32.lib;%(AdditionalDependencies)
- bin\static_mt\TestSuited.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- true
- true
- bin\static_mt\TestSuited.pdb
- Console
- MachineX86
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreaded
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnitmt.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;Crypt32.lib;%(AdditionalDependencies)
- bin\static_mt\TestSuite.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX86
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitmdd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin\static_md\TestSuited.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- true
- true
- bin\static_md\TestSuited.pdb
- Console
- MachineX86
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnitmd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin\static_md\TestSuite.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX86
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitd.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin64\TestSuited.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- true
- true
- bin64\TestSuited.pdb
- Console
- MachineX64
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnit.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin64\TestSuite.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX64
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebug
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitmtd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;Crypt32.lib;%(AdditionalDependencies)
- bin64\static_mt\TestSuited.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- true
- true
- bin64\static_mt\TestSuited.pdb
- Console
- MachineX64
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreaded
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnitmt.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;Crypt32.lib;%(AdditionalDependencies)
- bin64\static_mt\TestSuite.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX64
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitmdd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin64\static_md\TestSuited.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- true
- true
- bin64\static_md\TestSuited.pdb
- Console
- MachineX64
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnitmd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin64\static_md\TestSuite.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
-
-
-
diff --git a/Crypto/testsuite/TestSuite_vs140.vcxproj.filters b/Crypto/testsuite/TestSuite_vs140.vcxproj.filters
deleted file mode 100644
index dec7fb619b..0000000000
--- a/Crypto/testsuite/TestSuite_vs140.vcxproj.filters
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
- {9dff95b8-7a0a-42a2-882d-240353eebc86}
-
-
- {c461d935-f1d4-468f-8e89-a06090c1b7d6}
-
-
- {dcfe4ffa-6b62-4c48-9625-6fa8d16841f6}
-
-
- {66610ad9-d08d-4cd7-b3d2-d6d71a7d9ac5}
-
-
- {0cfb4e9f-5fe7-42dd-96f1-3dc5e779bf88}
-
-
- {0cd7e466-afb0-40c7-abff-08147e0e6da7}
-
-
- {89a0f0f0-fd2a-49aa-91f2-5b766adcd945}
-
-
- {e110d68e-1724-4d5e-8ab5-f774c2735147}
-
-
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- _Suite\Header Files
-
-
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- _Suite\Source Files
-
-
- _Driver\Source Files
-
-
-
\ No newline at end of file
diff --git a/Crypto/testsuite/TestSuite_vs150.vcxproj b/Crypto/testsuite/TestSuite_vs150.vcxproj
deleted file mode 100644
index 1167f02c10..0000000000
--- a/Crypto/testsuite/TestSuite_vs150.vcxproj
+++ /dev/null
@@ -1,641 +0,0 @@
-
-
-
-
- debug_shared
- Win32
-
-
- debug_shared
- x64
-
-
- debug_static_md
- Win32
-
-
- debug_static_md
- x64
-
-
- debug_static_mt
- Win32
-
-
- debug_static_mt
- x64
-
-
- release_shared
- Win32
-
-
- release_shared
- x64
-
-
- release_static_md
- Win32
-
-
- release_static_md
- x64
-
-
- release_static_mt
- Win32
-
-
- release_static_mt
- x64
-
-
-
- TestSuite
- {C1B1BB96-5198-48EB-AB48-9A0A0B54FB15}
- TestSuite
- Win32Proj
-
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
- Application
- MultiByte
- v141
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>15.0.28307.799
- TestSuited
- TestSuited
- TestSuited
- TestSuite
- TestSuite
- TestSuite
- TestSuited
- TestSuited
- TestSuited
- TestSuite
- TestSuite
- TestSuite
-
-
- bin\
- obj\TestSuite\$(Configuration)\
- true
-
-
- bin\
- obj\TestSuite\$(Configuration)\
- false
-
-
- bin\static_mt\
- obj\TestSuite\$(Configuration)\
- true
-
-
- bin\static_mt\
- obj\TestSuite\$(Configuration)\
- false
-
-
- bin\static_md\
- obj\TestSuite\$(Configuration)\
- true
-
-
- bin\static_md\
- obj\TestSuite\$(Configuration)\
- false
-
-
- bin64\
- obj64\TestSuite\$(Configuration)\
- true
-
-
- bin64\
- obj64\TestSuite\$(Configuration)\
- false
-
-
- bin64\static_mt\
- obj64\TestSuite\$(Configuration)\
- true
-
-
- bin64\static_mt\
- obj64\TestSuite\$(Configuration)\
- false
-
-
- bin64\static_md\
- obj64\TestSuite\$(Configuration)\
- true
-
-
- bin64\static_md\
- obj64\TestSuite\$(Configuration)\
- false
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitd.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin\TestSuited.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- true
- true
- bin\TestSuited.pdb
- Console
- MachineX86
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnit.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin\TestSuite.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX86
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebug
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitmtd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;Crypt32.lib;%(AdditionalDependencies)
- bin\static_mt\TestSuited.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- true
- true
- bin\static_mt\TestSuited.pdb
- Console
- MachineX86
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreaded
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnitmt.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;Crypt32.lib;%(AdditionalDependencies)
- bin\static_mt\TestSuite.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX86
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\CppUnit\WinTestRunner\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitmdd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin\static_md\TestSuited.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- true
- true
- bin\static_md\TestSuited.pdb
- Console
- MachineX86
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnitmd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin\static_md\TestSuite.exe
- ..\..\lib;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX86
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitd.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin64\TestSuited.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- true
- true
- bin64\TestSuited.pdb
- Console
- MachineX64
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnit.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin64\TestSuite.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX64
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebug
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitmtd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;Crypt32.lib;%(AdditionalDependencies)
- bin64\static_mt\TestSuited.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- true
- true
- bin64\static_mt\TestSuited.pdb
- Console
- MachineX64
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreaded
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnitmt.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;Crypt32.lib;%(AdditionalDependencies)
- bin64\static_mt\TestSuite.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX64
-
-
-
-
- Disabled
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
- true
- true
- true
- true
-
- Level3
- ProgramDatabase
- Default
- true
-
-
- CppUnitmdd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin64\static_md\TestSuited.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- true
- true
- bin64\static_md\TestSuited.pdb
- Console
- MachineX64
-
-
-
-
- MaxSpeed
- OnlyExplicitInline
- true
- Speed
- true
- ..\include;..\..\CppUnit\include;..\..\Foundation\include;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;WINVER=0x0600;POCO_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
- true
- true
-
- Level3
-
- Default
- true
-
-
- CppUnitmd.lib;iphlpapi.lib;winmm.lib;ws2_32.lib;iphlpapi.lib;%(AdditionalDependencies)
- bin64\static_md\TestSuite.exe
- ..\..\lib64;%(AdditionalLibraryDirectories)
- false
- Console
- true
- true
- MachineX64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
-
-
-
diff --git a/Crypto/testsuite/TestSuite_vs150.vcxproj.filters b/Crypto/testsuite/TestSuite_vs150.vcxproj.filters
deleted file mode 100644
index ab329fa92c..0000000000
--- a/Crypto/testsuite/TestSuite_vs150.vcxproj.filters
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
- {c36620ad-ed1f-44db-b632-628f09517b5a}
-
-
- {93ac862f-ef66-4c96-82c6-82f03c87b786}
-
-
- {c59358e6-8395-4e21-b952-d8f99d0805c9}
-
-
- {f96aacb4-a5dc-4cd9-9af3-9181ca3d08e8}
-
-
- {0f12e848-51bd-4dcb-ac5a-21cfe7a2d3f9}
-
-
- {79f7b368-e662-4165-b04b-4a1d652b6a32}
-
-
- {4c17d29d-4e86-4175-8704-3d1374a9e47c}
-
-
- {d54ac5e8-d98b-4c54-a8a4-8553a21a9ac7}
-
-
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- Crypto\Header Files
-
-
- _Suite\Header Files
-
-
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- Crypto\Source Files
-
-
- _Suite\Source Files
-
-
- _Driver\Source Files
-
-
-
\ No newline at end of file
diff --git a/Foundation/src/Environment_WINCE.cpp b/Foundation/src/Environment_WINCE.cpp
deleted file mode 100644
index 6c8b8f4a86..0000000000
--- a/Foundation/src/Environment_WINCE.cpp
+++ /dev/null
@@ -1,244 +0,0 @@
-//
-// Environment_WINCE.cpp
-//
-// Library: Foundation
-// Package: Core
-// Module: Environment
-//
-// Copyright (c) 2009-2010, Applied Informatics Software Engineering GmbH.
-// and Contributors.
-//
-// SPDX-License-Identifier: BSL-1.0
-//
-
-
-#include "Poco/Environment_WINCE.h"
-#include "Poco/Exception.h"
-#include "Poco/UnicodeConverter.h"
-#include "Poco/String.h"
-#include "Poco/Path.h"
-#include "Poco/NumberFormatter.h"
-#include
-#include
-#include
-#include
-
-
-namespace Poco {
-
-
-const std::string EnvironmentImpl::TEMP("TEMP");
-const std::string EnvironmentImpl::TMP("TMP");
-const std::string EnvironmentImpl::HOMEPATH("HOMEPATH");
-const std::string EnvironmentImpl::COMPUTERNAME("COMPUTERNAME");
-const std::string EnvironmentImpl::OS("OS");
-const std::string EnvironmentImpl::NUMBER_OF_PROCESSORS("NUMBER_OF_PROCESSORS");
-const std::string EnvironmentImpl::PROCESSOR_ARCHITECTURE("PROCESSOR_ARCHITECTURE");
-
-
-std::string EnvironmentImpl::getImpl(const std::string& name)
-{
- std::string value;
- if (!envVar(name, &value)) throw NotFoundException(name);
- return value;
-}
-
-
-bool EnvironmentImpl::hasImpl(const std::string& name)
-{
- return envVar(name, 0);
-}
-
-
-void EnvironmentImpl::setImpl(const std::string& name, const std::string& value)
-{
- throw NotImplementedException("Cannot set environment variables on Windows CE");
-}
-
-
-std::string EnvironmentImpl::osNameImpl()
-{
- return "Windows CE";
-}
-
-
-std::string EnvironmentImpl::osDisplayNameImpl()
-{
- return osNameImpl();
-}
-
-
-std::string EnvironmentImpl::osVersionImpl()
-{
- OSVERSIONINFOW vi;
- vi.dwOSVersionInfoSize = sizeof(vi);
- if (GetVersionExW(&vi) == 0) throw SystemException("Cannot get OS version information");
- std::ostringstream str;
- str << vi.dwMajorVersion << "." << vi.dwMinorVersion << " (Build " << (vi.dwBuildNumber & 0xFFFF);
- std::string version;
- UnicodeConverter::toUTF8(vi.szCSDVersion, version);
- if (!version.empty()) str << ": " << version;
- str << ")";
- return str.str();
-}
-
-
-std::string EnvironmentImpl::osArchitectureImpl()
-{
- SYSTEM_INFO si;
- GetSystemInfo(&si);
- switch (si.wProcessorArchitecture)
- {
- case PROCESSOR_ARCHITECTURE_INTEL:
- return "IA32";
- case PROCESSOR_ARCHITECTURE_MIPS:
- return "MIPS";
- case PROCESSOR_ARCHITECTURE_ALPHA:
- return "ALPHA";
- case PROCESSOR_ARCHITECTURE_PPC:
- return "PPC";
- case PROCESSOR_ARCHITECTURE_IA64:
- return "IA64";
-#ifdef PROCESSOR_ARCHITECTURE_IA32_ON_WIN64
- case PROCESSOR_ARCHITECTURE_IA32_ON_WIN64:
- return "IA64/32";
-#endif
-#ifdef PROCESSOR_ARCHITECTURE_AMD64
- case PROCESSOR_ARCHITECTURE_AMD64:
- return "AMD64";
-#endif
- case PROCESSOR_ARCHITECTURE_SHX:
- return "SHX";
- case PROCESSOR_ARCHITECTURE_ARM:
- return "ARM";
- default:
- return "Unknown";
- }
-}
-
-
-std::string EnvironmentImpl::nodeNameImpl()
-{
- HKEY hKey;
- DWORD dwDisposition;
- if (RegCreateKeyExW(HKEY_LOCAL_MACHINE, L"\\Ident", 0, 0, 0, 0, 0, &hKey, &dwDisposition) != ERROR_SUCCESS)
- throw SystemException("Cannot get node name", "registry key not found");
-
- std::string value;
- DWORD dwType;
- BYTE bData[1026];
- DWORD dwData = sizeof(bData);
- if (RegQueryValueExW(hKey, L"Name", 0, &dwType, bData, &dwData) == ERROR_SUCCESS)
- {
- switch (dwType)
- {
- case REG_SZ:
- UnicodeConverter::toUTF8(reinterpret_cast(bData), value);
- break;
-
- default:
- RegCloseKey(hKey);
- throw SystemException("Cannot get node name", "registry value has wrong type");
- }
- }
- else
- {
- RegCloseKey(hKey);
- throw SystemException("Cannot get node name", "registry value not found");
- }
- RegCloseKey(hKey);
- return value;
-}
-
-
-void EnvironmentImpl::nodeIdImpl(NodeId& id)
-{
- PIP_ADAPTER_INFO pAdapterInfo;
- PIP_ADAPTER_INFO pAdapter = 0;
- ULONG len = sizeof(IP_ADAPTER_INFO);
- pAdapterInfo = reinterpret_cast(new char[len]);
- // Make an initial call to GetAdaptersInfo to get
- // the necessary size into len
- DWORD rc = GetAdaptersInfo(pAdapterInfo, &len);
- if (rc == ERROR_BUFFER_OVERFLOW)
- {
- delete [] reinterpret_cast(pAdapterInfo);
- pAdapterInfo = reinterpret_cast(new char[len]);
- }
- else if (rc != ERROR_SUCCESS)
- {
- delete[] reinterpret_cast(pAdapterInfo);
- throw SystemException("cannot get network adapter list");
- }
- try
- {
- bool found = false;
- if (GetAdaptersInfo(pAdapterInfo, &len) == NO_ERROR)
- {
- pAdapter = pAdapterInfo;
- while (pAdapter && !found)
- {
- if (pAdapter->Type == MIB_IF_TYPE_ETHERNET && pAdapter->AddressLength == sizeof(id))
- {
- std::memcpy(&id, pAdapter->Address, pAdapter->AddressLength);
- found = true;
- }
- pAdapter = pAdapter->Next;
- }
- }
- else throw SystemException("cannot get network adapter list");
- if (!found) throw SystemException("no Ethernet adapter found");
- }
- catch (Exception&)
- {
- delete [] reinterpret_cast(pAdapterInfo);
- throw;
- }
- delete [] reinterpret_cast(pAdapterInfo);
-}
-
-
-unsigned EnvironmentImpl::processorCountImpl()
-{
- SYSTEM_INFO si;
- GetSystemInfo(&si);
- return si.dwNumberOfProcessors;
-}
-
-
-bool EnvironmentImpl::envVar(const std::string& name, std::string* value)
-{
- if (icompare(name, TEMP) == 0)
- {
- if (value) *value = Path::temp();
- }
- else if (icompare(name, TMP) == 0)
- {
- if (value) *value = Path::temp();
- }
- else if (icompare(name, HOMEPATH) == 0)
- {
- if (value) *value = Path::home();
- }
- else if (icompare(name, COMPUTERNAME) == 0)
- {
- if (value) *value = nodeNameImpl();
- }
- else if (icompare(name, OS) == 0)
- {
- if (value) *value = osNameImpl();
- }
- else if (icompare(name, NUMBER_OF_PROCESSORS) == 0)
- {
- if (value) *value = NumberFormatter::format(processorCountImpl());
- }
- else if (icompare(name, PROCESSOR_ARCHITECTURE) == 0)
- {
- if (value) *value = osArchitectureImpl();
- }
- else return false;
- return true;
-}
-
-
-} // namespace Poco
diff --git a/Foundation/src/Process_WINCE.cpp b/Foundation/src/Process_WINCE.cpp
deleted file mode 100644
index 96b26c946c..0000000000
--- a/Foundation/src/Process_WINCE.cpp
+++ /dev/null
@@ -1,244 +0,0 @@
-//
-// Process_WINCE.cpp
-//
-// Library: Foundation
-// Package: Processes
-// Module: Process
-//
-// Copyright (c) 2004-2010, Applied Informatics Software Engineering GmbH.
-// and Contributors.
-//
-// SPDX-License-Identifier: BSL-1.0
-//
-
-
-#include "Poco/Process_WINCE.h"
-#include "Poco/Exception.h"
-#include "Poco/NumberFormatter.h"
-#include "Poco/NamedEvent.h"
-#include "Poco/UnicodeConverter.h"
-#include "Poco/Pipe.h"
-
-
-namespace Poco {
-
-
-//
-// ProcessHandleImpl
-//
-ProcessHandleImpl::ProcessHandleImpl(HANDLE hProcess, UInt32 pid):
- _hProcess(hProcess),
- _pid(pid)
-{
-}
-
-
-ProcessHandleImpl::~ProcessHandleImpl()
-{
- closeHandle();
-}
-
-void ProcessHandleImpl::closeHandle()
-{
- if (_hProcess)
- {
- CloseHandle(_hProcess);
- _hProcess = NULL;
- }
-}
-
-UInt32 ProcessHandleImpl::id() const
-{
- return _pid;
-}
-
-
-HANDLE ProcessHandleImpl::process() const
-{
- return _hProcess;
-}
-
-
-int ProcessHandleImpl::wait() const
-{
- DWORD rc = WaitForSingleObject(_hProcess, INFINITE);
- if (rc != WAIT_OBJECT_0)
- throw SystemException("Wait failed for process", NumberFormatter::format(_pid));
-
- DWORD exitCode;
- if (GetExitCodeProcess(_hProcess, &exitCode) == 0)
- throw SystemException("Cannot get exit code for process", NumberFormatter::format(_pid));
-
- return exitCode;
-}
-
-
-int ProcessHandleImpl::tryWait() const
-{
- DWORD exitCode;
- if (GetExitCodeProcess(_hProcess, &exitCode) == 0)
- throw SystemException("Cannot get exit code for process", NumberFormatter::format(_pid));
- if (exitCode == STILL_ACTIVE)
- return -1;
- else
- return exitCode;
-}
-
-
-//
-// ProcessImpl
-//
-ProcessImpl::PIDImpl ProcessImpl::idImpl()
-{
- return GetCurrentProcessId();
-}
-
-
-void ProcessImpl::timesImpl(long& userTime, long& kernelTime)
-{
- FILETIME ftCreation;
- FILETIME ftExit;
- FILETIME ftKernel;
- FILETIME ftUser;
-
- if (GetThreadTimes(GetCurrentThread(), &ftCreation, &ftExit, &ftKernel, &ftUser) != 0)
- {
- ULARGE_INTEGER time;
- time.LowPart = ftKernel.dwLowDateTime;
- time.HighPart = ftKernel.dwHighDateTime;
- kernelTime = long(time.QuadPart/10000000L);
- time.LowPart = ftUser.dwLowDateTime;
- time.HighPart = ftUser.dwHighDateTime;
- userTime = long(time.QuadPart/10000000L);
- }
- else
- {
- userTime = kernelTime = -1;
- }
-}
-
-
-ProcessHandleImpl* ProcessImpl::launchImpl(const std::string& command, const ArgsImpl& args, const std::string& initialDirectory, Pipe* inPipe, Pipe* outPipe, Pipe* errPipe, const EnvImpl& env, int options)
-{
- std::wstring ucommand;
- UnicodeConverter::toUTF16(command, ucommand);
-
- std::string commandLine;
- for (ArgsImpl::const_iterator it = args.begin(); it != args.end(); ++it)
- {
- if (it != args.begin()) commandLine.append(" ");
- commandLine.append(*it);
- }
-
- std::wstring ucommandLine;
- UnicodeConverter::toUTF16(commandLine, ucommandLine);
-
- PROCESS_INFORMATION processInfo;
- BOOL rc = CreateProcessW(
- ucommand.c_str(),
- const_cast(ucommandLine.c_str()),
- NULL,
- NULL,
- FALSE,
- 0,
- NULL,
- NULL,
- NULL/*&startupInfo*/,
- &processInfo
- );
-
- if (rc)
- {
- CloseHandle(processInfo.hThread);
- return new ProcessHandleImpl(processInfo.hProcess, processInfo.dwProcessId);
- }
- else throw SystemException("Cannot launch process", command);
-}
-
-
-void ProcessImpl::killImpl(ProcessHandleImpl& handle)
-{
- if (handle.process())
- {
- if (TerminateProcess(handle.process(), 0) == 0)
- {
- handle.closeHandle();
- throw SystemException("cannot kill process");
- }
- handle.closeHandle();
- }
-}
-
-
-void ProcessImpl::killImpl(PIDImpl pid)
-{
- HANDLE hProc = OpenProcess(PROCESS_TERMINATE, FALSE, pid);
- if (hProc)
- {
- if (TerminateProcess(hProc, 0) == 0)
- {
- CloseHandle(hProc);
- throw SystemException("cannot kill process");
- }
- CloseHandle(hProc);
- }
- else
- {
- switch (GetLastError())
- {
- case ERROR_ACCESS_DENIED:
- throw NoPermissionException("cannot kill process");
- case ERROR_NOT_FOUND:
- throw NotFoundException("cannot kill process");
- default:
- throw SystemException("cannot kill process");
- }
- }
-}
-
-
-bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle)
-{
- bool result = true;
- DWORD exitCode;
- BOOL rc = GetExitCodeProcess(handle.process(), &exitCode);
- if (!rc || exitCode != STILL_ACTIVE) result = false;
- return result;
-}
-
-
-bool ProcessImpl::isRunningImpl(PIDImpl pid)
-{
- HANDLE hProc = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, pid);
- bool result = true;
- if (hProc)
- {
- DWORD exitCode;
- BOOL rc = GetExitCodeProcess(hProc, &exitCode);
- if (!rc || exitCode != STILL_ACTIVE) result = false;
- CloseHandle(hProc);
- }
- else
- {
- result = false;
- }
- return result;
-}
-
-
-void ProcessImpl::requestTerminationImpl(PIDImpl pid)
-{
- NamedEvent ev(terminationEventName(pid));
- ev.set();
-}
-
-
-std::string ProcessImpl::terminationEventName(PIDImpl pid)
-{
- std::string evName("POCOTRM");
- NumberFormatter::appendHex(evName, pid, 8);
- return evName;
-}
-
-
-} // namespace Poco