Passing an Array from ASP to VB DLL
Posted on 2000-03-20
I have a VB DLL and in that I have a function called savedata(InputArr as variant) as integer
I am doing some manipulations of the array elements there and after that I have to insert the data in to the database.
I am populating that Array in an ASP page. I want to pass the entire array from ASP page to the VB DLL. The code in ASP page looks like this:
if isobject(objhelper) then
if objhelper.SaveData(DLLARR) = -1 then
It is creating the object. But it is giving an error like
Invalid procedure call or argument error '800a0005'
Invalid procedure call or argument
/tradecom/members/newaccount/create_fldsArray.asp, line 88
It is giving error in yh eline "if objhelper.SaveData(DLLARR) = -1 then".
DLLARR is my array.
Hope somebody can give me some hints.