Hi All having probs creating an array (in Create line):
DirMonArray: array of TDirMonitor; //can this be an open array - or must it
have [0..100] for example assigned?
procedure TMainform.DirMonArrayAdd(WatchDir: string);
var Tval: Integer;
CurrDir: string;
begin
//Irrelevant lines removed
inc(DmonCount, 1);
DirMonArray[DmonCount - 1].Create(self); //<<= creation error here
end;
Help??
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/