E
edmundo.uno
My situation is that I have two C#/.Net Excel add-ins, an automation
add in to expose functions for the cells and a shared add in that
creates a menu. At the current time, both add ins use a static class to
store state information and to store data. Seeing a need to shim the
add ins, I went ahead and shimmed the add ins so each add in runs in
its own application domain. The problem is that the add ins now can't
share the same static data due to the fact that they're in separate
application domains. If would still like to have the add ins share
state information, what's the best way to accomplish this? It seems
that I have to use .Net remoting for the two to talk to each other. Is
that correct? Is it possible to have the add ins load into the same
application domain so they can share a static class?
Ed
add in to expose functions for the cells and a shared add in that
creates a menu. At the current time, both add ins use a static class to
store state information and to store data. Seeing a need to shim the
add ins, I went ahead and shimmed the add ins so each add in runs in
its own application domain. The problem is that the add ins now can't
share the same static data due to the fact that they're in separate
application domains. If would still like to have the add ins share
state information, what's the best way to accomplish this? It seems
that I have to use .Net remoting for the two to talk to each other. Is
that correct? Is it possible to have the add ins load into the same
application domain so they can share a static class?
Ed