VS2015 : The application was unable to start correctly (0xc000007b)

不问归期 提交于 2020-04-05 19:16:17

问题


I wrote a code on Visual studio 2015 for a windows 10 PC. The application is mainly focused on UDP communication and I use the boost libraries. It works perfectly but when I move the folder of the code to Windows 7 I receive the error "The application was unable to start correctly (0xc000007b)". I tried also in Windows 8.1 and after rebuilding the libraries it works.

What I noticed is that when I receive the error it does not load the .dll that in the other versions it loads.

May it be a problem with the boost? Have you ever experienced it?


回答1:


0xc000007b is error when you try to use x64 dlls in x32 application or other way around, so you probably copied wrong dlls. Rebuild fixed this, as it prepared new dlls.




回答2:


win7_64 visual studio 2015, 0xc000007b When I was programming C++ code in the visual studio 2015, it threw the error:0x000007b, and I have tried three kinds of solutions; 1.Installing Direct X 2.Installing VC C++ 2015 libraries 3.Making sure the DLL is consistent with the OS(and I think this is relevant to my problem) ANd my solution will show below: enter image description here

and I changed the [[[Debug]]] into [[[X64]]], then, it works, I believe that because some dlls are not consistent with the platform, so if I changed the Debug platform, We will get the correct result.The prerequisite:must having installed all dlls under the X64 system.



来源:https://stackoverflow.com/questions/38307379/vs2015-the-application-was-unable-to-start-correctly-0xc000007b

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!