why prompt api-ms-win-core-errorhandling-l1-1-1 this errror ,when runing on win7 ,but win8 win10 run ok?
-
wrote on 7 Jan 2020, 08:14 last edited by
i release the qt program using vs2019 and qt5.12.4 (qt5.13.2 also try ),and when only runing on win7 ,it will prompt miss api-ms-win-core-errorhandling-l1-1-1.dll .even i copy the dll to this computer ,it also prompt "it can not start(0xc000007b)"
-
wrote on 7 Jan 2020, 14:24 last edited by
Hi, error (0xc000007b) means you copied the wrong version of api-ms-win-core-errorhandling-l1-1-1.dll, the 32-bit instead of the 64-bit (or the other way around)
-
@jimfar said in why prompt api-ms-win-core-errorhandling-l1-1-1 this errror ,when runing on win7 ,but win8 win10 run ok?:
api-ms-win-core-errorhandling-l1-1-1.dll
I don't think you should copy any DLLs that start with api-ms-win-*.
Your app asks for that DLL because it is trying to use a feature that exists in Windows 8/10 but doesn't exist in Windows 7.
If you want to support Windows 7, you can either:
- Configure your compiler to support Windows 7, OR
- Build your app using a Windows 7 PC
-
wrote on 8 Jan 2020, 07:55 last edited by
@jimfar said in why prompt api-ms-win-core-errorhandling-l1-1-1 this errror ,when runing on win7 ,but win8 win10 run ok?:
api-ms-win-core-errorhandling-l1-1-1.dll
I am sure it is x64 check it on dependecy walker tool.
-
wrote on 8 Jan 2020, 12:17 last edited by
Hi, I think @JKSH is correct, those dlls with names starting with api-ms-win-*. is not meant to be run on Windows 7, only on Windows 8 and 10.
So either upgrade to Windows 10 or you can try building your Qt program with another compiler, e.g. reinstall Qt and select something without "UWP" starting in the name, for example "MSVC 2017 64-bit". (That one I know works also on Windows 7.)
3/5