在COM接口中添加接口函数,myproject.idl文件中定义如下. 编译连接时出现语法错误," myproject.idl(24) : error MIDL2025 : syntax error
ye_cl 2002-04-03 06:45:04 在COM接口中添加接口函数,myproject.idl文件中定义如下. 编译连接时出现语法错误," myproject.idl(24) : error MIDL2025 : syntax error : expecting a type specification near "CString" ". 请问什么原因?
...
[id(7), helpstring("method GetAgentLog")] HRESULT GetAgentLog([out, retval] CString &mystring);
...