0

I am using C# COM Interop techniques to interact with some device from website using ActiveX. Right now I can call C# codes from javascript and pass only string values. But I intend to pass javascript structure into C# method and the reverse. How can I do that.

Right now as an alternative I pass JSON formatted string from C# code and generate javascript object runtime using eval. But I want more control on that.

Thanks Maksud

2
  • Look at this stackoverflow.com/questions/647696/… Commented Jul 16, 2009 at 15:46
  • Thanks, but it also uses the JSON thing. I want to use something native. I have the drivers activex object and I have seen the uses. But can't find any sources. Commented Jul 17, 2009 at 20:46

1 Answer 1

0

I ended up using NewtonSoft's JSON Library as I could not find native solution.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.