COM接口VC实现,接口: [id(1), helpstring(“method Test”)] HRESULT Test([in] BSTR strInputA, [in] BSTR strInputB, [out,retval] VARIANT* result); ASP调用: Set objCompInfo =server.CreateObject(“组件在系统中的名字”) result=objCompInfo.Test(arrIn,arrout) “组件在系统中的名字” 该值在VC项目中