[fdo-users] Pure virtual function call errors in .net

Jackie Ng jumpinjackie at gmail.com
Mon Nov 29 22:51:54 EST 2010


Hi All,

Sometimes when I cleanup a IConnection object I get hit with an
unrecoverable "pure virtual function call" error. 

The SQLite and OGR providers seem to be the most frequent offenders.

My cleanup logic is as follows:

if (conn != null)
{
    if (conn.ConnectionState != ConnectionState.ConnectionState_Closed)
    {
        conn.Close();
    }
    conn.Dispose();
    conn = null;
}


Is something not right here?

- Jackie
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Pure-virtual-function-call-errors-in-net-tp5786956p5786956.html
Sent from the FDO Users mailing list archive at Nabble.com.


More information about the fdo-users mailing list