rkroxpunk
2007-06-08 08:42:54
"[Runtime Error] : Exception: Access violation at address 006AA139 in module 'scar.exe'. Read of address 0000001C in line 390 in script"
"SetupSRL" I hear you all groan….but nope it's in there. I've had a few people try and figure it out to no prevail it happens every time I call FreeDTMs; I'm not sure if I can show you the whole script as my script partner hasn't come one yet so i'll just show u the DTM's and crap.
first off here are my vars for the DTM which I set globally.
Here's the array of DTM's
and here's the FreeDTM's procedure that's giving me the error:
hope it's not something too obvious and thx in advance for ur help
"SetupSRL" I hear you all groan….but nope it's in there. I've had a few people try and figure it out to no prevail it happens every time I call FreeDTMs; I'm not sure if I can show you the whole script as my script partner hasn't come one yet so i'll just show u the DTM's and crap.
first off here are my vars for the DTM which I set globally.
Wine : array[1..3] of Integer;
i : Integer;Here's the array of DTM's
Procedure LoadDTMs;
Begin
Wine[1] := DTMFromString('78DA636466646078CB8002F67A3B331801694' +
'6289F9105C8FA84AA66D9AC99A86A1831CD11111444510300AF19' +
'06CE');
Wine[2] := DTMFromString('78DA6364616460F8CC800296CD9AC9E006A41' +
'9A17C466620EB1D84CD0C155BEA688DAA860DC8FA80AA66F99CD9' +
'286A00E24E0898');
Wine[3] := DTMFromString('78DA636466646078CB8002F67A3B33B801694' +
'6289F9105A186192AB6C8D10A53CD3B5435336CCD51D530629A23' +
'222888A20600C8110899');
End;and here's the FreeDTM's procedure that's giving me the error:
Procedure FreeDTMs;
Begin
For I:=1 To 3 Do
FreeDTM(Wine[i])
end;hope it's not something too obvious and thx in advance for ur help