Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have asp page which uses a .net dll.I have done it by registering the dll by regasm.now my requirement is to call a function of that all from the asp page by passing a ADODB.Recordet.I have done it by following way,
Set obj = CreateObject("namespace,classname")
Result=class1.function1(str,rs)
Here rs is the ADODB.Recordset.
And in .net the function is
Public odject[] function1(string value,ADODB.Recordset rs1)
But at runtime when the function is calling,it gives me an error
Vbscript runtime error:invalid procedure call or argument
Anh clue how to fix it.


Thanks
Hope now it is understandable.
Posted
Comments
souravghosh18 3-Apr-15 16:47pm    
Do I need any function attribute to pass the object from the com platform to managed platform.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900