我有一个DDK project用到了COM,所以使用了vs2003的include,在vs2003下编译没有问题。现在想移植到vs2005,当然就用了vs2005的include,可是报了一个奇怪的错误:
error see reference to class template instantiation '_com_ptr_t<_IIID>' being compiled有高人指点一下,这个有可能是什么原因引起的呢?