Hi,
I am calling into EnvDTE.DTE from other threads. I have implemented the STA appartment and COM retry as detailed in this previous question. However, calling some functions such as dte.ItemOperations.OpenFile(filename) from this other thread causes a hang. Moving it back to the main UI thread makes it work.
I have two questions:
1. Is it safe to call OpenFile from the main UI control thread?
2. How do I know which DTE functions it is safe to call from another thread?
many thanks,
Stewart.