我在程序中连接数据库后,在CWinThread中进行数据库操作
try{
...
m_pRecordset->Open(...
...
}
catch (_com_error &e)
{
    if ( !pMyConnect->State )
    {
        ....
    }
    ....
}
我在测试中断开网线来模拟不能连接数据库
网络断开口执行m_pRecordset->Open catch捕捉到了错误,
但是pMyConnect->State却还是 true
请问应该怎么做?