Nick Hi,
>But theoretically speaking, (I didn't have a chance yet to do the test myself) I think that I see one problem with this approach. If I am not missing something, this should work fine when you run it on one PC.
>As per your test, you have 4 instances of the same EXE. One uses only Common class and works as *kind of* multi-use (really not, as nobody tries to instantiate it the second time). Another three use Main class and are single-use, thus loading three more copies of EXE.
Actually only 3 instances show up in the task manager. I think the first instance doubles for the initial Common Multi-Use and then the Main Single-Use.
Also the Common class in my case is meant to be for a sharable singleton instance accesible by all the Mains. This means I can store common functions and global variables accesible by all instances.
>If you run the same thing as DCOM, you need to have that value in registry I mentioned before - RunAs ... Interactive User - ..................
Don't plan to have DCOM right now, but I will keep this in mind. At worst case I will break the classes out.
Regards,
Costas