Application can't start (error code 0xc0000142) and misses ext-ms-win-shell32-shellcom-l1-1-0.dll

FirefoxMetzger 1 Reputation point

I compiled an application (Gazebo) in Visual Studio Community 2019. Compilation, Linking, and the resulting installation (it is a CMake project) worked fine. However, when I start the application, it immediately crashes with error code 0xc0000142.

Checking the dependencies with Dependencies I can see that the API set ext-ms-win-shell32-shellcom-l1-1-0.dll can not be found by the executable, which would explain above error. All other API sets (core + externals) seem to load fine.

This is where my analysis comes to a halt, because I can't find reliable information on this specific one. Which API does it belong to? Why is it not present on my system?

I have updated windows 10 to the latest version, ran SFC /scannow (no issues found) as well as DISM. None of these revealed any problems, nor fixed anything.

Windows Version: 20H2 Build 19042.844
VS Redistributable Version: 14.28.29334
Visual Studio Version: 16.8.6
Microsoft .NET Framework Version: 4.8.04084 (not sure if relevant)

Any pointers are highly appreciated.

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,603 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 9,351 Reputation points Microsoft Vendor


    Ext-ms-win-shell32-shellcom-l1-1-0.dll file, developed by Microsoft, which is referred to essential system files of the Windows OS.

    The error 0xc0000142 commonly occurs when you try to launch an outdated or corrupted program.I sugest you could refer to the link:

    Dependency Walker always displays these dlls as missing. I sugest you could refer to the links:

    Best Regards,


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.