Discussion in 'C++' started by Beginner, Aug 15, 2009.
Can anyone tell me how to implement singleton for Dll's?
What do you mean by singleton Dlls?
Do you mean load only once for all the programs calling it ?
Yes! you are right. sorry !!! i wasn't make it clear in my question.
When the class is implemented as singleton pattern and it is used in all the dll's. In such case it will have multiple instance. one per dll. So how to avoid such multiple instances.
Thanks in Advance,
Still I could not get you.
Do you mean to say same class in more than one Dll ?
If thats the case then they are any way different class but same type of work.
Separate names with a comma.