SA Developer .NET

Best pactices for COM interop in .NET

Page Details

First published by:
CraigN
on Wed, Apr 1 2009
Last revision by:
CalmYourself
on Thu, Apr 2 2009
2 people found this article useful.

100% of people found this useful
Best pactices for COM interop in .NET

 

  • When using a 32-bit COM library, make sure your .NET library or application project option Platform Target is set to x86 to indicate it should run as a 32-bit process.
  • Try to avoid using interop in autonomous cycles.  Interop calls have a cost which could create performance problems if left unchecked.

Discussion: http://sadeveloper.net/forums/t/4798.aspx

CLR Inside Out referece: http://msdn.microsoft.com/en-us/magazine/2009.01.clrinsideout.aspx

Recent Comments

Leave the first comment for this page.