I have some C++ libraries. Is there a way to use them from Silverlight in a cross platform way (on Linux/Mac/PC)? I don’t want to use C++/CLI if possible.
I googled this article saying COM is the only way. However, I was told that Silverlight4 supports PInvoke.
Silverlight 4 does not support PInvoke so the answer is no you can’t directly use your C++ Libraries.
PInvoke is currently expected to be in Silverlight 5 for release sometime this year (2011).
See this John Papa blog Silverlight 5 Features, bullet point on OOB features.