Page 1 of 1

TOLEDBCommand.Destroy - interfaces not released (1) (D:\Projects\Delphi\Sdac\Source\OLEDBAccess.pas, line 2515)

Posted: Fri 16 Mar 2007 03:30
by hsldev
Hi,

We currently have a threaded application that is returning this error.

"TOLEDBCommand.Destroy - interfaces not released (1) (D:\Projects\Delphi\Sdac\Source\OLEDBAccess.pas, line 2515)"

We realise that it is probably something we are not doing correctly in the threaded environment, but we cannot see anything untoward. Eureka log tells us that this seems to be happening on freeing up a data module containing sever TmsStoredProc's that we create inside the thread. We are not really sure where else to look.

The error occurs only intermittently at client sites and we haven't been able to reproduce it in a test app.


Details:
Windows XP SP2
SQL Server 2005
Delphi 5.01
SDAC 3.80.0.36

Matt

Posted: Fri 16 Mar 2007 07:56
by Jackson
Most possible reason of this problem is that one instance of TMSConnection, TMSQuery, or TMSStoredProc component is used in different threads simultaneously.