COM接口VC實(shí)現(xiàn),接口:
[id(1), helpstring("method Test")] HRESULT Test([in] BSTR strInputA, [in] BSTR strInputB, [out,retval] VARIANT* result);
ASP調(diào)用:
Set objCompInfo =server.CreateObject("組件在系統(tǒng)中的名字")
result=objCompInfo.Test(arrIn,arrout)
"組件在系統(tǒng)中的名字" 該值在VC項(xiàng)目中的rgs文件中可以找到