User forums > Help
Missing msvcr70.dll?
Monkey666:
Hi,
i recently installed Code:Blocks (10.05 with MinGW) on my Windows machine.
I tried to compile my CPP code, but whem I try to start my executable I recieve an Error that the msvcr70.dll is missing.
This is my Code.
--- Code: ---#include<iostream>
#include<conio.h>
#include<Windows.h>
using namespace std;
long double _fak(int number);
int main()
{
start:
int zahl;
long double ergebnis;
cout<<"Bitte geben sie einen Wert ein von dem sie die Fakultaet wissen wollen!\n";
cin>>zahl;
if (zahl>170)
{
system("cls");
cout<<"Der angegebene Wert ist zu gross,\nbitte waehlen sie einen Wert zwischen 0 und 171!\n";
getch();
system("cls");
goto start;
}
ergebnis=_fak(zahl);
cout<<ergebnis<<endl;
getch();
system("cls");
goto start;
return 0;
}
long double _fak(int number)
{
long double ergebnis=1;
for (int i=number; i>=1; --i)
{
ergebnis= ergebnis*i;
}
return ergebnis;
}
--- End code ---
So i downloaded the .dll file.
I tried to compile and run my Code again, but this time I recieved the error code 0xC0000005.
I hope that you can help me :)
oBFusCATed:
Have you tried to search you favorite search engine?
I'm sure you haven't, because there is plenty of info on the matter out there in the wild, you just have to find it.
NeptuneTech:
Even i had the same problem with compilation.....and i downloaded the msvcr70.dll file, got it copied to c:\windows\sysWOW64 (Windows 7-64bit).....now when i try to run a program, it doesn't say that the msvcr70.dll file is missing, but instead my explorer doesn't respond...i searched in Google for the issue, but couldn't figure anything out.
stahta01:
@NeptuneTech Please read
http://support.microsoft.com/kb/326922
stahta01:
Note: You are having an Compiler setup/Configuration/installation error:
Common non CB causes are:
Remove all other Cygwin/MSys/Mingw installation from the system path.
DO NOT have MinGW installed into x:\mingw for any drive x unless it is your only mingw Installation.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version