Have sorted it. It was a memory allocation error by the author (not me)
which somehow slipped through his compilation.
So it was resources, but not the stack!
Hereis:
GetMem(RawBuffer, NumSamples*2);
//this was:
// GetMem(RawBuffer, NumSamples);
FileLength := RawFile.Size;
Done := 0;
while done <> FileLength do begin
if (done + (NumSamples*2) < FileLength) then
toRead := NumSamples*2
else toRead := Filelength - done;
isread := RawFile.Read(Rawbuffer^, ToRead);
//because Rawbuffer is gonna require 2*Numsamples mostly
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz