PrivateDir and multiple applications
Posted on 1998-09-21
I run several applications at the same time, currently for each I set the privatedir to be a unique directory for each that I create as a sub-directory of the windows temporary diretcory. Is there a better way of doing this or is this ok?
Also, we allow the user to have the possibility of running multiple instances of the application. There's a toggle in the program to turn of multiple instances and if it's a single instance only I use a mutex to check if they have only one instance set. If they are running off a server there is not problem, but running multiple instances off a local executable is a problem as each instance seems to need a different privatedir. Has anyone any ideas how to get around this (I am developing in D 3.02 C/S)?