Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: HELLOWORLD on April 18, 2020, 10:50:40 pm

Title: Application error (0x000007b)
Post by: HELLOWORLD on April 18, 2020, 10:50:40 pm
whenever i try to open codeblocks this error pops up -> this application was unable to start correctly (0x000007b).

any clue on how to solve this problem?
Title: Re: Application error (0x000007b)
Post by: oBFusCATed on April 18, 2020, 11:01:22 pm
Start by telling us which version of C::B and OS you're using. Are they 32 or 64 bits.
Posting a generic error (and also posting the incorrect error code, you're most probably missing a 'c' in there), doesn't help us pinpoint what is going on.
Title: Re: Application error (0x000007b)
Post by: HELLOWORLD on April 18, 2020, 11:13:25 pm
sorry about that
-20.03 release
-64bit
-(0xc000007b)
Title: Re: Application error (0x000007b)
Post by: oBFusCATed on April 19, 2020, 12:14:31 am
And the OS version?
Title: Re: Application error (0x000007b)
Post by: gd_on on April 19, 2020, 09:49:39 am
This error happens, I think, when, on Windows (Win 10 64 bits for me), the ...\MinGW\bin path has not been set within your path variable and when you are executing directly your .exe, outside codeblocks. So add this bin path in your Path variable (system one or user one).
More, are all the dll used by Codeblocks, accessible through this path variable ?

gd_on
Title: Re: Application error (0x000007b)
Post by: oBFusCATed on April 19, 2020, 10:50:37 am
Codeblocks shouldn't need this variable. The executables and dlls must be in the same folder after the installer.
Title: Re: Application error (0x000007b)
Post by: gd_on on April 19, 2020, 11:42:47 am
You are right for codeblocks itself. And, it is his problem apparently.
But when you build an executable with mingw 8.1, and you want to execute it outside of C::B, you need to have access to several other dll like those added in C::B distribution (like libstdc*, libgcc*, ...), but not only. It's why it's preferable to have (also) those dlls in your path.

I met this error several times, but on my own programs, and it's not easy to understand what is missing, even with a tool like DependenciesGUI.

gd_on
Title: Re: Application error (0x000007b)
Post by: HELLOWORLD on April 19, 2020, 05:31:08 pm
And the OS version?

Win 7
Title: Re: Application error (0x000007b)
Post by: oBFusCATed on April 19, 2020, 07:04:20 pm
What is the content of the folder where the codeblocks.exe is (somewhere in the program files)?