I am having a C++ component (managed) and I want to use this frommy C# client. One of the methods in the C++ component takes in aLP to a struct (LPMAPIPROP). I want to expose this as a Objectto the C# client. How can I type cast to LPMAPIPROP or any otherSTRUCT from Object.
C2440: 'type cast' : cannot convert from 'System::Object __gc *'to 'LPMAPIPROP'
--------------------------------
From: IUnknown
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>wAN+jxKdwUqKU+yk3B+lNg==</Id>