System Error: The code execution cannot proceed because MSVCP140.dll was not found


(Daisy) #1

Keep getting the System Error dialogue:

“The code execution cannot proceed because MSVCP140.dll was not found”

Can any of you kind folks explain in words of one syllable to a 12 year old and her 54yr old Mum what on earth that means and what I should do to fix it?

Have been trawling YouTube for over an hour now. Feel a bit fraught!

Thanks so much x


About the Installing Pencil2D / How to category
(Jose Moreno) #2

@JonesyDays Good evening Ma’am. Thank you for writing.

Indeed we’ll gladly attempt to assist you with your issue. The error that you describe, means that the MSVCP140.dll file, necessary to run Pencil2D, does not appear present in your Operating System. This is an issue that has to do with Windows systems, but it has, as far as we know, an easy fix.

Your particular problem is mentioned In the download page of our main website on the trouble-shooting section which I’ll link here only for reference https://www.pencil2d.org/download/#troubleshooting

msvcp140.dll is missing

Install vcredist_x64.exe or vcredist_x86.exe , you can find it in the same folder of Pencil2D.exe after unzip it.

Thankfully the Pencil2D ZIP comes with the .exe files included to install, however if you’d like to download them from a Microsoft sanctioned website this is the direct link https://support.microsoft.com/en-ph/help/2977003/the-latest-supported-visual-c-downloads

Note: In microsoft’s website you’d have to download the “distributables” for Visual Studio 2015 and possibly VS 2017

Depending on your computer architecture you either have to install the 32bits (vcredist_x86.exe) or 64 bits (vcredist_x64.exe) version.

If you are unsure as to what kind of software architecture your computer has please follow this guide: https://support.microsoft.com/en-us/help/827218/how-to-determine-whether-a-computer-is-running-a-32-bit-version-or-64

Once installed, that error should go away, however if you continue to have any other issue, please let us know in order to provide you with further support.

Note A: Pencil2D is currently in development, so even after successfully running the program there might be some bugs or glitches in the program that might impoverish your work. Currently there is an issue with loading and saving on certain computers, but we have a guide to prevent suffering from work loss that you can read on the following LINK

Note B: Sometimes it happens that there are computers so specific that Pencil2D might not work even after implementing known technical solutions, as such if after providing you with all the technical support that is possible for us, your situation with Pencil2D does not improve, we also have an overview list of animation software that you and your child might be able to use as a replacement. There are free and commercial apps outlined there so hopefully you both will be able to continue your artistic journey :slightly_smiling_face: