Singleton Classes - Programmers Heaven

Howdy, Stranger!

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


Singleton Classes

csbrmgcsbrmg Posts: 4Member
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

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.