The code execution cannot proceed because VCRUNTIME140.dll was not fou

Discussion of TS 2019

The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby TheKman » Tue Jul 30, 2019 6:46 pm

Last few days I've been getting the following error message EVERYTIME I start to use the paint brush within the RE. I start to paint and WHAM! Sim crashes with the message.

"The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem."

Some reading on the internet seems to suggest this is caused by the last few Windows 10 updates that have been doing all sorts ot mischief to operating systems.

But I got an app that prevents Windows from doing that automatic update forced on you. In my case, over time the updates ghosted out commands that allowed one to disable, manually apply, and be notified of a update for the user to review.

With this app I can once again choose those options. Since November I've had the app deny any Windows 10 updates. So far, no ill from doing this. Computer runs better since doing this.

The whole point of explaining the above is that as best I can tell, my app is doing it's it's job. No updates have sneaked in.

So what else might be causing my problem?

Thanks
TheKman
 
Posts: 381
Joined: Sun Sep 25, 2016 6:01 am

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby buzz456 » Tue Jul 30, 2019 9:00 pm

What's RE?
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20914
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby RailWanderer » Tue Jul 30, 2019 11:03 pm

buzz456 wrote:What's RE?


"Route Editor"... smh….. what part of RE didn't you understand?!!
RailWanderer (John)

He who walks the rails must be conscious of his environment.
User avatar
RailWanderer
 
Posts: 475
Joined: Wed Dec 14, 2016 9:00 am
Location: Ohio

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby thegevo5k » Tue Jul 30, 2019 11:34 pm

RailWanderer wrote:"Route Editor"... smh….. what part of RE didn't you understand?!!


That attitude is rather uncalled for. Not everybody knows what "RE" means.
thegevo5k
 

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby TheKman » Thu Aug 01, 2019 11:48 am

A update.

I get this error message after the sim crashes when I also attempt to place items such as trees, weeds, grass, basically scenery items along with attempting to use the paint brush. Placing track, roads, buildings and other items does not cause a problem. (other than the out of memory message which has been a pain since I first got in to RW/TS several years ago.)

Though my computer says I have VCRruntime140, the computer did accept a download of the program which didn't fix this problem.

P.S. Guys: Honestly there's no gain by ripping into someone because they don't know what "RE" is. As it was pointed out some people within the community either are not familiar with or use this term.
TheKman
 
Posts: 381
Joined: Sun Sep 25, 2016 6:01 am

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby buzz456 » Thu Aug 01, 2019 12:13 pm

Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20914
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby TheKman » Fri Aug 02, 2019 6:28 pm




I tried some stuff with the first link enclosed. Drivers didn't need to be update. But I did notice that computer was running a 2010 version of Microsoft Visual C ++ Redistributable. A update was suggested so I got ride of the 2010 copy. Its now updated to a 2019 version.

Overall problem has improved except for using the paint brush. Sim still crashes BUT the error message has changed to the stupid access violation one.

C\Program Files
(x86)\steamapps\common\RailWorks\TempDump
"Exception Code: 0xC0000005 Exception Info: ACCESS VIOLATION"


Read up on this one and it seems to be another mixed bag of tricks... Some say it's Windows 10 related to the updates. Some say it started occurring after the latest Steam update (Not a DTG update). Steam did do a update on my system prior to all these gremlins showing up. Took almost 4 minutes for this update to process.

Is there a way to roll back updates from both Steam and DTG?

Thanks
Last edited by TheKman on Fri Aug 02, 2019 6:37 pm, edited 1 time in total.
TheKman
 
Posts: 381
Joined: Sun Sep 25, 2016 6:01 am

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby buzz456 » Fri Aug 02, 2019 6:32 pm

No pic and to my knowledge you can't roll the stuff back. Until you have a better idea of the cause of all this I think something a little less drastic is indicated. Have you run a file verify yet? That's always a good place to start.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20914
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby TheKman » Fri Aug 02, 2019 6:40 pm

buzz456 wrote:No pic and to my knowledge you can't roll the stuff back. Until you have a better idea of the cause of all this I think something a little less drastic is indicated. Have you run a file verify yet? That's always a good place to start.

I could post the pic. Just wasn't showing up. I edited my post.
TheKman
 
Posts: 381
Joined: Sun Sep 25, 2016 6:01 am

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby TheKman » Fri Aug 02, 2019 7:16 pm

TheKman wrote:
buzz456 wrote:Have you run a file verify yet? That's always a good place to start.


Just got done doing that. Might be the whole issue. Said (I think I read it right...) over 12,000 files were either jacked or missing. Says it's all been fixed so I'll fire up the RE after I eat and see what happens.
TheKman
 
Posts: 381
Joined: Sun Sep 25, 2016 6:01 am

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby TheKman » Fri Aug 02, 2019 10:31 pm

TheKman wrote:
TheKman wrote:
buzz456 wrote:Have you run a file verify yet? That's always a good place to start.


Just got done doing that. Might be the whole issue. Said (I think I read it right...) over 12,000 files were either jacked or missing. Says it's all been fixed so I'll fire up the RE after I eat and see what happens.


Looks that was the issue. Just did two hours of work and took a break. (First time in awhile the sim didn't decide for me it was "break" time!) No issues of any kind this session. Was able to use the paint brush and the rest of the RE tools without any problems.
TheKman
 
Posts: 381
Joined: Sun Sep 25, 2016 6:01 am

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby TheKman » Sat Aug 03, 2019 10:15 am

Spoke too soon! This stupid access violation crap has returned and I didn't have to deal with until after the game had to update due to the validation check of the files. I think the update caused it since I had not have to deal with this in months. Yeah, I know, many probably feel it's not DTGs fault I'm a country heck who is just plain stupid. If "fixing" something means a all new bag of DTG gremlins it's not worth it. It was easier to deal with the stupid code execution errors. I'm back to my original motto. If it requires a DTG update. NOT WORTH IT! I've dealt with just too many gremlins over the years after such updates. I'm going back to offline mode on a permanente basis.

It'll be more of the same when the next version is released. If I can stay off line and run TS2019 that's what I'll do. Apologies to the DTG fanboys who think I'm way out of line. DEAL!
TheKman
 
Posts: 381
Joined: Sun Sep 25, 2016 6:01 am

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby buzz456 » Sat Aug 03, 2019 10:33 am

TheKman wrote:Spoke too soon! This stupid access violation crap has returned and I didn't have to deal with until after the game had to update due to the validation check of the files. I think the update caused it since I had not have to deal with this in months. Yeah, I know, many probably feel it's not DTGs fault I'm a country heck who is just plain stupid. If "fixing" something means a all new bag of DTG gremlins it's not worth it. It was easier to deal with the stupid code execution errors. I'm back to my original motto. If it requires a DTG update. NOT WORTH IT! I've dealt with just too many gremlins over the years after such updates. I'm going back to offline mode on a permanente basis.

It'll be more of the same when the next version is released. If I can stay off line and run TS2019 that's what I'll do. Apologies to the DTG fanboys who think I'm way out of line. DEAL!


All I have to say is that I have been running TS since it was before TS and Have always run online always always. I have this game installed on three different computers two well enough equipped desktops and one barely adequate laptop and have never had any of these horrible problems you seem to be experiencing. I have almost every piece of US DLC ever made by almost everyone 11 pages of routes and 28 pages of locos. I have only a few workshop items installed at any one time since they seem to cause a lot of issues. I feel for your issues and understand your frustration but most of this is not caused by the base game or updates. I have no clue about your rig however something is surely amiss in hardware or software.
!!**sorry**!!
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20914
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: The code execution cannot proceed because VCRUNTIME140.dll was not fou

Unread postby BoostedFridge » Wed Aug 07, 2019 7:18 pm

Looking at this from a different perspective...

Do you get this error when using the paintbrush tool on multiple routes? What about in 32 bit? (64 bit if you have been trying in 32)

For the sake of troubleshooting, create a new route from the base template for your install. Try the paintbrush in this. It shouldn't take more than 5 minutes. The 'access violation' error seems to come up for such a variety of reasons that it alone isn't enough to point the finger at any specific area.
User avatar
BoostedFridge
 
Posts: 2277
Joined: Sat Aug 24, 2013 6:39 am
Location: Vancouver, BC


Return to TS2019

Who is online

Users browsing this forum: No registered users and 1 guest

cron