Can anyone tell me how to call COM component from SilverLight 2.0 using C#? I can use the MS UPnP Control Point COM in C# application by add reference in VS2008. It will make a dll file named Interop.UPnPLib.dll. But I can't find the COM tab page when I use the add reference in VS2008 in a
Silverlight 2.0 Project. and when I add the Interop.UPnPLib.dll in the silverlight 2.0 project, It will popup a message box:
"You Can't add a reference to Interop.UPnPLib.dll" as it was not built against the silverlight runtime. Silverlight projects will only work with
Silverlight assemblies"
And when I try to add the original file upnp.dll, it will popup a message box:
"Try to load the incorrect format program. (Exception from HRESULT:0x80070008)"
Who can tell me how to use the COM in silverlight 2.0 project using C#? thanks.
...
Go to the complete details ...