佚名通过本文主要向大家介绍了ado.net组件,ado组件,简述ado.net组件结构,ado组件下载,ado组件修复工具等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 在编译一个封装ADO接口的组件中遇到的错误。请指教!
描述:
描述:
接口定义是这样的。
interface Isearch : IDispatch
{
[id(1), helpstring("method SearchCust")]
HRESULT SearchCust([in] BSTR bstrcustid,[out,retval] _Recordset **ptr);
};
编译后指示在该处出现错误:
C:\测试\FindCust\FindCust.idl(18) :
error MIDL2025 : syntax error : expecting a type specification near "_Recordset"
error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation
我是个新手。请指教!