VCRuntime140 Crash on windows 11 only

Ritu Varkey 41 Reputation points
2022-12-23T06:02:05.513+00:00

I have an application that runs on windows desktop it runs well on all version of windows 10 and below. When I installed the app on Windows 11 I see a crash.

Faulting application name: appname.exe, version: 9.0.0.0, time stamp: 0x60ce4997
Faulting module name: VCRUNTIME140.dll, version: 14.34.31931.0, time stamp: 0x8e79cd85
Exception code: 0xc0000005
Fault offset: 0x00000000000018f7
Faulting process id: 0x0x2D80
Faulting application start time: 0x0x1D916932C46D5A0
Faulting application path: C:\Program Files\NetIQ\SecureLogin\slbroker.exe
Faulting module path: C:\Windows\SYSTEM32\VCRUNTIME140.dll
Report Id: 284bc844-a403-4ca1-bb8e-96e180cc5990
Faulting package full name:
Faulting package-relative application ID:

I have Redist 14.34 installed in the appliacation. It works perfectly fine without crash on Windows 10. App is in C++.

Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 24,636 Reputation points MVP
    2022-12-24T01:31:19.703+00:00

    First, you need to un-register the file. You can do this by typing in or copy-pasting the next command, then pressing the Enter key: regsvr32 /u VCRUNTIME140.dll

    Now re-register the file. This can be done with the following command — make sure to press Enter after you input it: regsvr32 VCRUNTIME140.dll

    Reboot.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.