long nCount=100;
for (long i=0; i<nCount; i++)
{

m_pRecordset->AddNew(); 
m_pRecordset->PutCollect("ID",(_variant_t)(long)i); 
//m_pRecordset->PutCollect("name",a); 

m_pRecordset->Update(); 
//Sleep(1000);




数据库中已经插入了 点击插入后 MFC 报错
he thread 0x4A8 has exited with code -1073741819 (0xC0000005).
The thread 0x9D0 has exited with code -1073741819 (0xC0000005).
The thread 0xF04 has exited with code -1073741819 (0xC0000005).
The thread 0xCC4 has exited with code -1073741819 (0xC0000005).
The thread 0xDD0 has exited with code -1073741819 (0xC0000005).
The thread 0xF0 has exited with code -1073741819 (0xC0000005).
The thread 0xD64 has exited with code -1073741819 (0xC0000005).
The thread 0xFF0 has exited with code -1073741819 (0xC0000005).
The thread 0x930 has exited with code -1073741819 (0xC0000005).
The program 'C:\Users\Administrator\Desktop\Demo\Debug\Demo.exe' has exited with code -1073741819 (0xC0000005).
是不是线程问题啊?