Reputation: 503
We have a c++ clr application that we have compiled into a dll. We exposed several methods through a managed public ref class in the c++ code. We were actually able to have our native c# application load this dll and pass a system::drawing::bitmap by reference. All we needed to do was add a reference to the dll and all methods were exposed due to implicit pinvoke. However, as soon as we try to load the dll in our silverlight application, things blow up. Apparently the c++ clr .net libraries used are not compatible with those of silverlight. We have tried many things, but just can't get silverlight to call our dll.
Please, does anybody have any suggestions on how to resolve this? Anything would be apprciated!
Thank you!
Upvotes: 1
Views: 1250
Reputation: 31394
You have three main options I can think of:
Upvotes: 2