大锤子 2006-4-6 10:29
ASP调用COM+(VB),报错说类型不一致
用VB写的COM+,ASP中Server.CreateObject成功,但调用函数就报错说类型不一致。
VB:
Public Function TestArray(input_array() As String)
...
End Function
ASP:
Dim ary(10)
ary(0) = "0"
ary(1) = "1"
...
ary(10) = "10"
obj.TestArray(ary)就报以上的错?(obj已创建成功)
feng 2006-4-6 10:29
Public Function TestArray(input_array() As Variant) '改为Variant试试
...
End Function