摘要: 转自:http://hi.baidu.com/smallay/item/ba925a3e105ae49bb80c03c8先单步调试,找到崩溃处代码为:CComObject<foo>* p;CComObject<foo>::CreateInstance(&p); //<==此处这应该是很正常的用法,排除了代码不正确的问题。继续深入CreateInstance函数,崩溃在altcom库文件中:CComObject<Base>* p = NULL;ATLTRY(p = new CComObject<Base>()); //<==此处 阅读全文
posted @ 2013-05-22 16:11 Gomen 阅读(1482) 评论(0) 推荐(0) 编辑