I am calling a VB dll method and a function from ASP.My VB function has an variant aggument and returns the variant array. when calling that from ASP it gives type mismatch error.
The function is like that:
Public Function Apptest(iCount As Variant) As Variant()
Dim sArray(2) As Variant
sArray(1) = "Pradeep"
sArray(2) = "Kumar"
iCount = 1
Apptest = sArray
**** AND i am calling that method like that: i have created the the object and assign it an declared aaray in server ASPscript like that asLocations = ServerComp.Apptest (iLocation)
Is ASP support this. I mean it is possible to pass a variant array in the method of VB dll.
I need immediate held
Thanks in advance