Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


How to pass an object argument from classic ASP to C# dll


How to pass an object argument from classic ASP to C# dll

Author
Message
a_and_k
a_and_k
Forum God
Forum God (409 reputation)Forum God (409 reputation)Forum God (409 reputation)Forum God (409 reputation)Forum God (409 reputation)Forum God (409 reputation)Forum God (409 reputation)Forum God (409 reputation)Forum God (409 reputation)

Group: Forum Members
Posts: 1, Visits: 2
We have a C# dll and I need to call some of the object methods from a classic ASP. I have managed to register the dll correctly using regasm.exe. I am also able to create the object, and call methods that take string arguments and/or return strings. However, I need to call other methods that take object arguments/return object arguments. This does not work at all. Any ideas on how the mapping works between C# objects and ASP data structures?

I also have the choice of re-write the c# dll to a VB.NET dll, but I don't know if that will make the mapping easier?

I think my questions is: how to pass in (and out) complicate data structures (e.g. objects, hashtables, structs, etc) from classic ASP to .NET (VB or C#).

Thanks in advance for your help

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search