今天遇到错误“'_ConnectionPtr' : missing storage-class or type specifiers .”;
明明已经在StdAfx.h 包含了#import "c:/program files/common files/system/ado/msado15.dll" no_namespace rename("EOF","adoEOF")
但是出来一系列跟msado15.dll有关的错误。
解决办法:build(组建)->rebuild all(全部重建)后问题解决,即是重新编译StdAfx.h文件,错误消失