User forums > Help

can't execute .exe in bin folder 0xc000007b

<< < (2/2)

Brissou72:
libgcc_s_seh-1 64 bit sorry

gd_on:
So, you say that you have 32 bits dlls and 64 bits dlls in the same directory ? I'm not sure it works.
Which compiler did you install ? and where ?

Brissou72:
So now i have fixed the problem of DLL by adding the DLL directly in C:\MinGW\bin but still the 0xc000007b
In "setting", "compiler", the selected compiler is GNU GCC compiler.
I noticed that under codeblocks i can only select target debug if i choose release then following :
"EnumProcessModules", "GetModuleBaseNameA", and "EnumProcesses" are in errors as undefined references.

Brissou72:
and compiler install directory is C:\Program Files\CodeBlocks\MinGW

Brissou72:
Hello Finally I found out my problem... but i would libe to be more explained (basically my job is automation of industrial plants, so i m not specialist)

So I noticed I had to folder of compiler in my system (C:\Program Files\CodeBlocks\MinGW and C:\MinGW\). When I copy in "exe folder" bin folder of C:\MinGW\ it does not work but when i copy C:\Program Files\CodeBlocks\MinGW it works !

My configuration of compiling in CB points to C:\Program Files\CodeBlocks\MinGW. But yesterday i ve noticed that when i put the missing dll to C:\MinGW\ i was not noticed of missing dll but error 0xc000007b, i assume that if I copy the C:\Program Files\CodeBlocks\MinGW to C:\MinGW\ it will work without copying the bin file to "exe folder". So I don't understand what is the reason as i m configured with codeblocks to work with C:\Program Files\CodeBlocks\MinGW.

Thank you very much for your help and your explainations.

Navigation

[0] Message Index

[*] Previous page

Go to full version