ASP 調(diào)用帶參數(shù)輸出的COM接口
更新時間:2009年10月15日 22:52:08 作者:
asp com接口的調(diào)用代碼。 需要的朋友可以參考下。
COM接口VC實現(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項目中的rgs文件中可以找到
[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項目中的rgs文件中可以找到
相關(guān)文章
Asp Conn.execute的參數(shù)與返回值總結(jié)
這篇文章主要介紹了Asp Conn.execute的參數(shù)與返回值總結(jié),數(shù)據(jù)庫對象的execute方法參數(shù)與返回值總結(jié),需要的朋友可以參考下2014-07-07