SRL Archive - FAQ

MSVCR71.dll


Orangey

2012-04-10 15:46:06

Hi, everytime I want to run Simba, a Window shows up. It says that the programme can't be started cause MSVCR71.dll is missing. Well I already tried everything i know, i googled the file, tried to install in manually. This didn't work so I downloaded the "Fixer" well, this programme couldn't install the .dll File either.
Any suggestions?

Sex

2012-04-10 15:52:12

Try downloading the redistributable and see if that installs it. If not, copy it from your Java folder to your Simba folder (the same place where Simba.exe is located).

Frement

2012-04-10 15:52:19

Consider using the "Search" feature that is integrated to the forum software.

Abu

2012-04-10 15:54:38

I know the solution to this - used to happen to me :/

Basically, you are doing everything correct!…except for the first part :p

When you download the .dll, this time download the alternate version of the .dll. Almost all .dll have an alternate version, if the original isn't working then this one should.

Orangey

2012-04-10 15:59:56

From: Frement
Consider using the "Search" feature that is integrated to the forum software.

I DID search for that already and tried what where in those Threads, but nothing helped… so I created this Thread.

@Sex and abu_jwka
I'll try both things, thanks for your help ;)

Orangey

2012-04-10 16:25:13

uhh o.o Sry for the doublepost… but i managed to start it, but yeah the next Problem. How do i Actually start a Script?

nyaks

2012-04-10 16:30:49

From: Orangey
Hi, everytime I want to run Simba, a Window shows up. It says that the programme can't be started cause MSVCR71.dll is missing. Well I already tried everything i know, i googled the file, tried to install in manually. This didn't work so I downloaded the "Fixer" well, this programme couldn't install the .dll File either.
Any suggestions?


installed again java program but close antivirus,firewall.remove java first

Orangey

2012-04-10 16:39:22

From: nyaks
installed again java program but close antivirus,firewall.remove java first


I already fixed that problem, my next problem is that i really have no idea how to start a Script, I downloaded a power chopper and it says all the time Exception in Script: Unable to find file 'srl/srl.scar' used from '' I also downloaded the scar file but dont know what to do with it :/

Dgby714

2012-04-10 17:07:50

program new;

function getProgDir(): string;
begin
Result := 'C:\Program Files\';
if (DirectoryExists('C:\Program Files (x86)\')) then
Result := 'C:\Program Files (x86)\';
end;

function findJava(): string;
begin
Result := getProgDir() + 'Java\jre6\';
if (DirectoryExists(Result)) then
Exit;

Result := getProgDir() + 'Java\jre7\';
if (DirectoryExists(Result)) then
Exit;

Result := '';
end;

function getDLL(out Filename, Path: string): boolean;
begin
Path := findJava();

case (Copy(Path, Length(Path) - 1, 1)) of
'6': Filename := 'msvcr71.dll';
'7': Filename := 'msvcr100.dll';
end;

Path := Path + 'bin\' + Filename;

Result := Filename <> '';
end;

function CopyFile(Src, Dest: string): boolean;
var
Stream: TFileStream;
begin
Stream := TFileStream.Create(Src, fmOpenRead);
try
with TFileStream.Create(Dest, fmCreate or fmOpenReadWrite) do
try
Result := CopyFrom(Stream, Stream.Size) = Stream.Size;
finally
Free;
end;
finally
Stream.Free;
end;
end;

var
Filename, Path: string;

begin
if (getDLL(Filename, Path)) then
if (CopyFile(Path, AppPath + Filename)) then
WriteLn(Format('File "%s" copied to the Simba directory successfully.', [Filename]));
end.

Abu

2012-04-10 17:12:21

From: Orangey
i really have no idea how to start a Script, I downloaded a power chopper and it says all the time Exception in Script: Unable to find file 'srl/srl.scar' used from '' I also downloaded the scar file but dont know what to do with it :/


Your using an old script. Look at your error, why does it end in .scar? You're not using scar you're using simba.

Use an updated script