Click here to Skip to main content
15,903,201 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
If I change a static class variable in one application instance and I have multiple instantiated applications using the same dll will I be able to see that specific modification from one of my other applications? I'm thinking yes but I'd like to know for a fact. Any words of wisdom?

Thanx
Posted

1 solution

No. Instance data as well as static data only exists inside a single process. In order to share data amongst applications, you must take special steps and use one of many available mechanisms, e.g. memory-mapped files.

:)

 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900