Reputation: 917
Code:
virtual void DeleteItem(_bstr_t ItemName) = 0
Error:
error C2061: syntax error : identifier '_bstr_t'
i tried google online and use #include but it doesnt remove the error
any other way to resolve this?
Upvotes: 0
Views: 1184
Reputation: 7265
Add #include <comdef.h>
(where _bstr_t
definition included) to your include file, for example stdafx.h
.
Upvotes: 0