Singleton Classes

Question
Create a class were if multiple programs create an instance of the class on a single machine all the programs share the a single instance of the class


Problem
I am able to create a simple singleton where if a program creates more than one instance of the singleton class the 2 instances share the same instance but i cant get it to work for the case were multiple programs are opened all of which open a instance of the singleton class in this case each program has its own version of the singleton class
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories