I am having problems with a memory leak using a Paradox 7 Table and the
ExecSQL command in Delphi 5 enterprise (update pack 1).

I am running an sql query with parameters and my procedure sets the
parameters and runs. This code is being run every 5 seconds.

  SQLAddSummary.ParamByName('HOSTNAME').AsString := HostName;
  SQLAddSummary.ParamByName('PINGPERCENT').AsInteger := PingPercent;
  SQLAddSummary.ParamByName('REPLYTIME').AsInteger := ReplyTime;
  SQLAddSummary.ParamByName('PTIMESTAMP').AsDateTime := PTimeStamp;
  SQLAddSummary.ExecSQL;

When I comment out this code the memory leak disappears.  I have also tried
un/prepare sql around the execsql and it doesn't help.

Any help on this would be appreciated.

Regards,
Damien.


---------------------------------------------------------------------------
    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/

Reply via email to