ATL COM Singleton Server - Help Required
COM
1
Posts
1
Posters
0
Views
1
Watching
-
HELP PLEASE I have created a simple COM Server (.exe) using the VC++ Wizard. I have modified it to be a singleton by adding the following code to my COM class's .h file DECLARE_CLASSFACTORY_SINGLETON(SiteStatus) Where SiteStatus is the name of my class This works fine on 2 machines, ie only 1 instance of the COM Server is created regardless of how many clients use it. The problem is on one machine it does not act as a singleton, ie more than one instance of the server is created. Anybody have any ideas why ? I am puzzled Thanks Adrian:confused: