I actually meant the CivetWeb version:
It does not depend on the operating system - although some operating systems have some older versions of the redistributables preinstalled. It depends on the Visual Studio version (actually the SDK version) used to build civetweb. There are different redistributables for every Visual Studio version. For the pre-built executables you can download from SourceForge, the Visual Studio version depends on the CivetWeb release version. Sometimes within one release the 32 bit version and the 64 bit versions used different Visual Studio versions (reason: long story).
There are three ways to find out which version you need:
- It is written in the "installing.md" documentation of the version you download
- You can just start the executable, look for an error message like "can not start because msvcrt100.dll is missing" and add the dll
- The most sophisticated way to find missing DLLs is to use a free tool called "Dependency Walker". It shows all DLLs used by an executable or DLL. This actually works for every program, not just for civetweb.
As an info: This is the relation between Visual Studio Version and MSVCRT