VS2012 Error: The application was unable to start correctly (0xc000007b)
The actual error code that you encountered is 0xC000007B
. That is the NTSTATUS error code STATUS_INVALID_IMAGE_FORMAT
. That error arises, almost invariably, because the application is 32 bit and attempted to load a 64 bit module, or vice versa. In your case, you state that your application is 32 bit, so it seems that it is attempting to link to a 64 bit DLL. Use a tool like Dependency Walker to diagnose the module which has the wrong bitness.
I don't understand why you are distributing both release and debug versions of the MSVC runtime. You only need one, and that one should be the release versions. The files that end d
are the debug versions. You are not permitted to redistribute them.
Dev IL linking and compiling error (0xc000007b)
First, the error is not a compiler or linker error. That error is a runtime error.
You are running a 32-bit application, but the SysWOW64
directory indicates you're attempting to load 64-bit components for the 32-bit program. This of course will not work.
There could be several reasons for the error, but the first one you should inspect are your project settings. Maybe somewhere x64
is being used, causing a dependency on the 64-bit DLL's to be encountered.
If all else fails, please use a program such as Dependency Walker http://www.dependencywalker.com/
and inspect your EXE file to ensure it is a 32-bit executable, and also to view the dependent DLL's.
C++ SDL Native' has exited with code -1073741701 (0xc000007b)
Have you tried the suggestions in this answer?
The error you're seeing usually indicates that a runtime dll can't be found. If you have already tried the above, perhaps you could open the built executable in depends.exe which should let you know which DLLs are missing.
SDL Initialization ERROR
This post bellow answers my request
http://www.gamedev.net/topic/632552-sdl-pisses-me-off/
Resuming you should point to the SDL X86 lib on: Project->Properties->VC++ Directories->Library Directories
I was pointing to X64 =)
Good Bye!
Related Topics
C++ Virtual Function Table Memory Cost
How to Detect Text Area from Image
Changing C++ Output Without Changing the Main() Function
Simulating Mouse Clicks on MAC Os X Does Not Work for Some Applications
What Are the Reasons That Extending the Std Namespace Is Considered Undefined Behavior
Creating and Deallocating a Qt Widget Object
C++ -- How to Overload Operator+=
Immediate Exit of 'While' Loop in C++
Is Visual Studio 2013 Optimizing Correctly in the Presence of /Opt:Icf
C++ Class Member Function Callback
Redirect Both Cout and Stdout to a String in C++ for Unit Testing
Openal: How to Create Simple "Microphone Echo" Programm
What Standard Clause Mandates This Lvalue-To-Rvalue Conversion
Is It Legal to Modify the Result of Std::String::Op[]
What Is the Simplest Way to Convert Char[] To/From Tchar[] in C/C++(Ms)