求助:MFC VC6 XP升级到VS2010 win7后 偶尔 崩溃
将一个VC++6.0 XP下开发的MFC程序,移动到VS2010 Win7下;
程序运行一段时间(一个星期到半个月),报“ Microsoft 基础类应用程序has stopped working”;
使用GetPorcessMemoryInfo监控了一下内存,崩的时候内存也就40多兆,但是是从20多兆升上来的;
使用windbg监控了一下,内存泄露的函数,能释放的泄露都做了,还有一些错误如下:
报的错误主要是mfc100和msado15
75f73578 USER32!DispatchMessageA+0x0000000f
5032bdf4 mfc100!AfxInternalPumpMessage+0x00000040
502dfa08 mfc100!CDialog::DoModal+0x0000012d
e5e231 工程名!C工程名App::InitInstance+0x000000a1
55a6b923 msado15!DllGetClassObject+0x0000c988
55a6b82b msado15!DllGetClassObject+0x0000c890 //将xp下的masdo15文件拷贝到win7的工程下;
55a60ed5 msado15!DllGetClassObject+0x00001f3a
e5f38c 工程名!Connection15::Open+0x0000005c //open用完后调用了close
e7f7f9 工程名!C工程名Dlg::InitDatabase+0x00000149
502dfb3a mfc100!CDialog::HandleInitDialog+0x00000041
5033f5a8 mfc100!CWnd::OnWndMsg+0x00000307
5033f27a mfc100!CWnd::WindowProc+0x00000024
5033e21d mfc100!CWnd::DefWindowProcA+0x00000044
5033d736 mfc100!CWnd::Default+0x00000030
5033f27a mfc100!CWnd::WindowProc+0x00000024
e63593 工程名!C工程名Dlg::WindowProc+0x000000b3
这个和win7系统和xp系统有关系吗?
在XP系统下没有出错;
这个还可能是哪里出问题啦?谢谢各位