I have a .net 4 application that uses a Com Dll to send SMS messages. I used TlbImp to create the interop assembly and that is what is referenced in the application.
When I try to create an instance of this class, it takes a really long time (2-5 seconds).
I ran performance profile in VS 2010 and the call that takes the longest by far is System.Activator.CreateInstance().
I am looking for tips on how to debug or gotchas with using Com Interop.