如何调用第三方组件(在系统中dll)
飞一龙 2009-12-10 03:40:54 在asp中是这样引用的
Set obj = Server.CreateObject("OpenVendorV34.NetTran")
'使用接收方证书对订单原始数据进行加密
If obj.EncryptMsg(SourceText, RcvCertPath) = 0 Then
EncryptedMsg = obj.LastResult
else
Response.write obj.LastErrMsg
response.end
End If
'使用发送方证书对订单原始数据进行签名
If obj.SignMsg(SourceText, SendCertPath, SendCertPWD) = 0 Then
SignedMsg = obj.LastResult
Else
Response.write obj.LastErrMsg
response.end
End If
Set obj = Nothing
那个组件是安装在系统中的,在asp.net中怎么引用和调出那些函数