Re: ADO high virtual memory usage
- From: "Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom>
- Date: Tue, 20 Mar 2007 13:27:15 -0000
Hi
Delphi 7 is the tool.
Test app uses _release to remove the ref to the object.
There are no other refs so object should free.
Yes it probably does.
But if the Recordset is open, you are closing it first?
I am using VC++'s smart pointers, a model shutdown is
if (pRecordset != NULL)
{ if ((pRecordset->GetState() & (long)ADODB::adStateOpen) != 0)
pRecordset->Close();
pRecordset = NULL;
}
and "pRecordset = NULL" will force a release.
Stephen Howe
.
- References:
- Re: ADO high virtual memory usage
- From: Stephen Howe
- Re: ADO high virtual memory usage
- Prev by Date: Re: ADO high virtual memory usage
- Next by Date: Re: SQL Query Problem
- Previous by thread: Re: ADO high virtual memory usage
- Next by thread: Re: ADO high virtual memory usage
- Index(es):