Welcome to MSDN Blogs Sign in | Join | Help

FYI: COM Interop Changes in .NET Framework 2.0 and Outlook Object Model

If you have seen the error below when using objects from OOM in .NET 2.0 code then the information that Mason posted recently will explain a lot.  The key to avoiding this error is to use the interfaces in OOM not the CoClasses.  Mason explains why in his post...

Unable to cast COM object of type 'System.__ComObject' to class type 'Microsoft.Office.Interop.Outlook.MailItemClass'

Published Thursday, May 31, 2007 2:56 PM by mstehle

Comments

No Comments

New Comments to this post are disabled
 
Page view tracker