Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 366
Flavio.R. Avatar asked Jul 11 '16 12:07

Flavio.R.


People also ask

What is the reason for 0xc000007b error?

Reasons of Windows error code 0xc000007b The error code means an invalid image format. Specifically, you are attempting to start an application which is designed to run on 64-bit operating system. But your computer is running 32-bit Windows.


1 Answers

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.

like image 117
MaciekGrynda Avatar answered Oct 05 '22 01:10

MaciekGrynda