we are having GDI resource leaks that cause from time to time "Win32Exception Not enough storage is available to process this command" (related question).
Our application is composed from a Word Addin and a C# application. Can a leak in the Word addin remove the resources from the C# application? We have seen the application crash after some unrelated Addin problems.
In other words, are GDI resources allocated exclusively per process or are they shared somehow?