Christopher824
CDETrainz.com
Just upgraded late last night. Briefly ran a train west out of Denver. Did not seem much different to me than TRS19 and was pleased to be able to run trains again on "West from Denver". Today I saw an update was available. Downloaded and installed it, and was able to open TRS22 but trains did not respond. Next attempt to load I got the following message "The code execution cannot proceed because MSVCP140_ATOMIC_WAIT .dll was not found. Reinstalling the program may fix this problem". I can no longer open TRS22, but if I remember correctly by build (pre-update) ended in 418. I do not see anyone wlse reporting this issue. Lucky Me! Any help as always is greatly appreciated. Thanks, Randy
You are missing a Windows file or it is currupted. You will need to get the file(s) from Microsoft. I believe the file msvcp140.dll and the file msvcp140-atomic-wait.dll are some how connected, if the base is bad the caller will get an error. Could try SpyBot Search & Destroy and CCleaner if your registry got hacked.
If you have any version of Mcrosoft Visual Studio installed, read the following page and download the appropriate version. It will update the msvcp140.dll (required). The automatic update for this only happens when you open VS in one of the newer versions, older versions require a manual update. If you do not have VS then Windows Update should handle this;
https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170
If all else fails, you could try here (I have not tested)
https://wikidll.com/microsoft-corporation/msvcp140-atomic-wait-dll
Last edited: