Code::Blocks Forums
User forums => Help => Topic started by: juli on June 27, 2008, 09:39:03 pm
-
hello
it appears that codeblock uses msvcrt.dll as default, how do i switch it to use MSVCR71.DLL
-
hello
it appears that codeblock uses msvcrt.dll as default, how do i switch it to use MSVCR71.DLL
The above is misleading; Code::Blocks uses mingwm10.dll which uses msvcrt.dll.
Note, some non official builds of MinGW-Like GCC links mingwm10.dll to MSVCR71.DLL.
See Python language builds like http://www.develer.com/oss/GccWinBinaries
Tim S
-
Here is my real problem ...
I would build my program inside windows and it would work fine on one computer, but it would crash at another, the only thing that's really different are the dlls, i read that the microsoft periodically update msvcrt.dll which means one version could be different from another, so an alternative would be if I just supply my own msvcr71.dll with my distribution , since mingw uses msvcrt.dll, i guess there's really no way around this problem.
-
Are you suppling mingwm10.dll with your code? if not, then that is most likely causing the problem.
Why do you think msvcrt.dll is related to the cause of the problem?
You are using MinGW GCC to compile your project, right?
If you are using Visual C++ then the MSVCR71.DLL issue makes sense; are you?
What complier are you using? What version is it?
Tim S
-
No
I didn't include mingwm10.dll, I'll give that a try, where exactly is that?
and yes, i am using gcc and therefore i shouldn't worry about msvcr71.dll, I was a little confused, cus I saw msvcrt.dll inside dependency walker
-
No
I didn't include mingwm10.dll, I'll give that a try, where exactly is that?
and yes, i am using gcc and therefore i shouldn't worry about msvcr71.dll, I was a little confused, cus I saw msvcrt.dll inside dependency walker
MinGW uses msvcrt.dll because it is considered part of the operating system, so should always be on the PC.
Some PC have msvcr71.dll some don't.
Always include the version of MinGW mingwm10.dll that is in the bin folder for the Compiler.
Place it in the same folder as the executable.
Note, including an newer MinGW mingwm10.dll DLL is supposed to work, but it might not sometimes.
An older one never works for me.
Tim S
-
hello
thank you very much for all your suggestions, as it turned out, it was a problem with the windows registry that was some how messed up, when i was making my installer, I didn't remove many of the necessary stuff and when i cleaned it all up, it seemed to work again, but i'm not exactly sure how to manipulate the registry directly with code, so that's what i'll work towards,
as for mingwm10.dll, i definitely didn't include that , but all the computers i ran on already has code block, so i'll definitely also need it,
thank you