COM Object Method Invoke Exception - Silverlight 4
- by Adam Driscoll
I'm trying to use the new AutomationFactory provided with Silverlight 4 to call a .NET COM class.
.NET COM-Exposed Class:
public class ObjectContainer
{
public bool GetObject([Out, MarshalAs((UnmanagedType.IUnknown)] out object obj)
{
obj = new SomeOtherObj();
return true;
}
}
Silverlight Assembly:
…