Windows Phone 7: System.Runtime.InteropServices.Marshal does not work with COM
I have two questions.
1)Does Windows Phone 7 support COM? .NET Framework knows such attributes like ComVisible, but I am not sure after all.
2)Sy开发者_StackOverflow社区stem.Runtime.InteropServices.Marshal misses any COM functions. Particularly, if the first question is answered positive, I miss StringToBSTR and GetObjectForNativeVariant. I am sure both functions can be written by myself, though it will take a while. Does anyone know what I should do in this situation?
What a pity OpenNETCF Smart Device Framework is not understood by Phone 7 .NET Framework.
.NET Framework is from Windows Phone SDK beta.
No COM in WP7. It's managed api's all the way.
精彩评论