[AccessD] Memory leak

Stuart McLachlan stuart at lexacorp.com.pg
Fri Apr 14 18:43:34 CDT 2006


On 14 Apr 2006 at 18:31, Ken Ismert wrote:

 
> Notes:  The Connection property actually returns a reference to a COPY
> of the ActiveX Data Object (ADO) connection for the active database ...
> 

In other words every call to  FWInit CurrentProject.Connection creates a 
new copy of the connection. 

So it's a feature, not a bug  :-)

Looks like the work around is to specifically make a copy of 
CurrentProject.Connection  and call that with FWInit.




-- 
Stuart





More information about the AccessD mailing list