Jump to content

The code execution cannot proceed because msvcp140.dll not found


Recommended Posts

I'm working in Windows 10 Pro 64bit 22H2 with all updates.

I have tried:

SFC /scannow

DISM /Online /Cleanup-Image /RestoreHealth

Uninstalling, rebooting and reinstalling:

Microsoft Visual C++2015-2022 Redistributable Version_VC_redist.x86.exe

Microsoft Visual C++ 2005 Service Pack 1 Redistributable _vcredist_x86.EXE

Microsoft Visual C++ 2010 Service Pack 1 Redistributable_vcredist_x86.exe

Microsoft Visual C++ Redistributable Version17_VC_redist.x86.exe

Then I tried all of the above 64bit versions.

In uninstalled:

AutoIt SciTE4AutoIt3Ver.4.4.6.exe

AutoIt

Re-booted

reinstalled:

AutoIt SciTE4AutoIt3Ver.4.4.6.exe

autoit-v3.3.16.1.exe

I get this message when I try to edit an .au3 file.

How can I get SciTE to work?

 

Edited by Docfxit
Link to comment
Share on other sites

  • Docfxit changed the title to The code execution cannot proceed because msvcp140.dll not found

... don't know. It has nothing to do with SciTE.
Look around in your drive and copy from, say, "C:\Program Files (x86)\Microsoft\EdgeCore\128.0.2739.54" has files named *140.dll, copy all those to SciTE folder and see if that does it for you.

I also have them in "C:\Program Files\WindowsApps\Microsoft.OutlookForWindows_1.2024.717.400_x64__8wekyb3d8bbwe" and in "C:\epicGames\Epic Games\Launcher\Portal\Binaries\Win32", etc.

In my PC it all works as it should but if I had your problem, that is path related in my view, I'd do as I said above. If that don't work, remove them. No harm should come from trying this.

Good luck

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

Thank you for the reply...

I copied two files to the SciTE folder.

msvcp140.dll

msvcp140_codecvt_ids.dll

I tried opening a .au3 file.

I got this error:

SciTE0xc000007b.jpg.2bcca35c1527708c962ef942cecdb3f3.jpg

Please note before I tried this I installed SciTE ver. 5.4.0

There was a discussion about the missing file on the thread relating to SciTE beta ver. 5.4.0.

I made a post on that thread:

https://www.autoitscript.com/forum/topic/208444-beta-scite-v5x-lua-dynamic_include-and-smart-autocomplete-for-varsudfsabbrevs/?do=findComment&comment=1536637

 

Edited by Docfxit
Link to comment
Share on other sites

  • Developers
1 hour ago, argumentum said:

Look around in your drive and copy from, say, "C:\Program Files (x86)\Microsoft\EdgeCore\128.0.2739.54" has files named *140.dll, copy all those to SciTE folder and see if that does it for you.

Pretty sure you do not want to copy DLL's around as most of them are reentrant as far as I know, meaning that when they are once loaded they will not be loaded again, and you do not want possible different versions on your system and the wrong one being in memory.  

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

This might be overkill but you may try enabling user-mode crash dumps and run the subsequent dump file through the Windows debugger. If the debugger part is too much you can send the dumps to me via PM but be warned that some information in the dump may not be sanitized. Also I'm no expert on the topic but generally the analysis gives some insight to what, where and why. 

Link to comment
Share on other sites

I have turned on Local Debugging without excluding SciTE:

DebugLocal.thumb.jpg.0b3ff83ef5620afaa6537676725a1066.jpg

I have enabled Auto Debugging:

DebugAuto.thumb.jpg.4822344d089f6e9b668f2329b956973b.jpg

I did re-boot the machine.

After trying to edit an .au3 file and I get the error saying Msvcp140.dll was not found.

I expected to see a dump in:

C:\Users\Gary\AppData\Local\CrashDumps\SciTE

It's empty.

I also checked:

MemoryDump.thumb.jpg.4956324c7cf28622a7ba168c612187a2.jpg

I did re-boot the machine.

I did try the edit again.

And I didn't find anything in:

C:\Windows\MEMORY.DMP

I also couldn't find anything in EventViewer

Edited by Docfxit
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...