Have you tried running the program in compatibility mode on the Win 10 OS?
Also, the MSVCP140 looks like it is a reference to the Microsoft Visual C Plus v140 DLL library. If the program didn't run as administrator when installing, it might have failed to install the DLL.
Running as administrator on the Win 10 OS might also help that issue.
I have checked. But the problem is same and not solved.
Please download and install a "vcredist_x86.exe" to solve the MSVCP140.dll error.
Copy msvcp140.dll, msvcp120.dll, msvcr120.dll, vcruntime140.dll to program folder from PSOC Creator's program folder.