I have an executable(VC++) which is run twice with different command line parameters, so basically there are two instances running. This executable loads an C# dll ,First thing i want to know is if two instances of the dll will be loaded to two different instances. If yes then I have a static class in the dll, how will this be instantiated i.e., will there be two instances of static class or will it be shared between the two process.
When i try to run the two instances of the executable, only one instance is successful in loading the dll.