Generics and COM Interop don't mix

Posted by: Rick Strahls WebLog, on 10 Jul 2007 | View original

COM Interop is rarely fun, but it looks like it's getting to be less and less useful as time goes on and new .NET Runtime features come along that don't work well over COM. It appears that Generic types can't be exported over COM and be usable to a client like Visual FoxPro. When I create a class like this: [ComVisible(true)] [ClassInterface(ClassInterfaceType.AutoDual)] public class Person { public string Name { get { return _Name; } set { _Name...

Advertisement

Similar Posts

  • Coding4Fun V2 Plans - Your Feedback Wanted more
  • Improved Lightbox2 JS for Community Server more
  • Partial Classes & the Service Factory more
  • Deployments made easy more
  • Other views on programming sins... more
  • Add-in Comparison: VSFileFinder 2005 vs. SonicFileFinder more
  • NDoc no more and Open Source more
  • Sharepoint 2007 & ASP.NET 2.0 WebParts more
  • Open Source Projects As A Form Of Community Service more
  • Mixins for Atlas more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD