It is possible to build for xp and run binaries and .dlls with VS2017. You linked to my post, but there are other threads where I found the solution. You need to use a v1x0_xp toolset and for dlls to load correctly you need to set an extra compiler flag: