i’m calling a C# com interop dll from classic asp.
i want to send name value pairs to the c# dll.
tried using dictionary object in classic asp and accepting it using the same dictionary object (scripting.runtime com reference) in C#.
But it gives Invalid procedure call or argument error.
I got this idea of using scripting.dictionary from this link
http://www.eggheadcafe.com/community/aspnet/2/10016705/is-there-any-way-to-pass-a-dictionary-object-to-c.aspx
may be im missing something
Questions
- am i missing something or is there a better way to pass key value
pairs from Classic asp to C#. - i’m also considering using this library asp3tojson and
deserializing in C#. is it too complicated?
I’d convert it to JSON. At least to know there are no object-level interoperability problems, especially when it comes to mixing in various MS objects.