Ado problem under COM+ transaction
When this com object runs under COM+ transaction there is a block for 15 seconds approx. when going out of scope (when Connection object cleans itself).
The next sample will show you what i mean:
STDMETHODIMP CTestLob::raw_Run()
{
{
_ConnectionPtr p = NULL;
p.CreateInstance(__uuidof(Connection));
p->Open("DSN=MYDB;Mode=1","username","password",-1);
} /** when we get out of this scope there is a block for 15 seconds approx.
return S_OK;
}
If the com object is not running under a COM+ transaction there is no blocking while going out of scope.
Can someone help me resolve this problem?

