Hi,
Alsooo... Der Callstack:
Delphi-Quellcode:
TCellularAutomatonEx.SetWorld(0,2,$26FC63C)
TWatorObject.Move(???)
TWatorSimulation.Calculate
TCustomCellularAutomaton.DoOnCalculate(???)
TCellThread.DoCalculate
TCellThread.Execute
Ich glaube die Zeile ausgemacht zu haben, an der es passiert:
TWatorObject.Move:
Delphi-Quellcode:
// FWorld: Array of Array of Pointer;
FWorld[fy,fx] := Self;
Setter:
Delphi-Quellcode:
procedure TCellularAutomatonEx.SetWorld(y, x: Integer;
const Value: Pointer);
begin
FEgal := 24;
// <--- AV
// ...
end;
Ehm... Ja warum ich das in nem Thread mache wenn ich eh alles Synchronisiere... Ehm keine Ahnung
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."