“The application was unable to start correctly (0xc000007b). Click ok to close the application.”

社会主义新天地 提交于 2019-12-06 02:23:28

Using the Dependency Walker tool and finding a post that provided a little information on how to use the tool, I figured out that I had a 64-bit version of the ATL100.DLL instead of the 32-bit version. This file went missing earlier and I unknowingly downloaded and replaced it with a 64-bit version.

I've looked around for details on this issue, and haven't found anything conclusive. One post, from a Microsoft support technician, states this:

"From your error 0xc000007b I found that the error means this: "STATUS_INVALID_IMAGE_FORMAT" ".

The error message is probably referring to a file image - most likely one of the MS VS SDK DLL's. The exact file name should be in the Windows Event Logs - Application section. If not, they are probably in a log file (in your %temp% area).

Assuming you can't find the file name: Have you tried a repair of all the VS 2010 SDK's? If a file has been updated (via MS installer) since the install of MS VS, it will not be rolled back via install - even if it's invalid. It won't be removed if you uninstall, either, since another app installed/updated it. You need to force this via repair (in "Programs and Features)".

Update: MS Repair Tool for .NET Components - Not sure if it's just .NET libs or if it scans VC++/VC#/etc. I'm still searching for a similar tool for other MS components.

ALSO: If none of that helps, try the following:
-Force the error to occur, and leave the process running (VS 2010) with its error message
-Pull up Process Explorer (utility from Microsoft - sysinternals.com) and select that process
-Enable DLL view for the lower pane
-Look through the DLL's, and there should be one in there with an odd date, and perhaps in an odd location (like in the VS 2010 folder, and not System32.)
-Close VS 2010 (and its error message)
-Move any DLL's that don't live under system32/syswow64 to a temp location (don't forget where you got them!)
-Launch VS 2010 again


LATEST CONTENT:
Try this for better logging - launch VS2010 like this:
devenv.exe /Log

Log goes here:
%APPDATA%\Roaming\Microsoft\VisualStudio\\ActivityLog.xml

More devenv.exe switches in the [source web page]2.

I solved this by changing the platform from properties >> configuration manager to win64, and change the Additional Library Directories to x64.

For me I got same issue, The problem was due to 32/64-bit mismatches of various system dlls required by Visual studio. Somehow the dlls it needs got replaced by 64-bit versions that it couldn’t load. I uninstalled x64 vc++2013 redistribute and installed x86 and it started working.

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