11
4
Suppose some author has enforced his Windows application to be single instance. Is there any way to make multiple instance of this application (aside from running inside a virtual machine or requesting the author to rewrite the app)?
If there is a readymade tool, I would like to know it. (I have tried sandboxie and Altiris SVS without luck).
If there is nothing out there, I want to program a tool/hack that will let me do this. I am looking for pointers where to start - what will be involved, what skills would be needed. I have moderate programming skills in C and Java.
If this cannot be done, please explain why.
EDIT: I know its a bad idea but I still need to do it (for various reasons). I want a generic way that works for any application and does not introduce errors.
3Windows applications are not singletons by default. If they are, it means someone put in the extra effort to make it a singleton and probably has a reason for doing so. – In silico – 2010-07-20T18:56:23.540
1Depends on how the application is checking for multiple copies. Various applications check in different ways and some applications will check in multiple ways. – ho1 – 2010-07-20T18:57:43.697
As In Silico says though, it's probably not a good idea. The app might corrupt data, crash or cause other problems if you've got multiple copies running when they're not meant to. – ho1 – 2010-07-20T18:59:15.317
There are many ways a process can enforce running only a single instance; I don't think it is feasible to build a generic tool capable of preventing this. You would have to examine each application individually and write something tailored specifically for it. – None – 2010-07-20T19:42:09.810
Have you found a solution? – Tomas – 2012-06-25T10:09:19.460
@Tomas - A solution isn't possible. – Ramhound – 2012-06-25T10:47:18.260
@Tomas - I have not yet found a solution. Would love to hear one. – Jus12 – 2012-10-26T13:29:13.800