error C2065: ‘__in’ : undeclared identifier

时间:2021-02-04 17:26:48

转自VC错误:http://www.vcerror.com/?p=1307

问题描述:

编译时出现:

error C2065: ‘__in’ : undeclared identifier

error C2146: syntax error : missing ‘)’ before identifier ‘HRESULT’

warning C4229: anachronism used : modifiers on data are ignored

error C2059: syntax error : ‘)’

error C3861: ‘__in': identifier not found, even with argument-dependent lookup

error C2146: syntax error : missing ‘)’ before identifier ‘HRESULT’

warning C4229: anachronism used : modifiers on data are ignored





解决方法:

详细的解决方法可参考VC错误:http://www.vcerror.com/?p=1307