If i am using both the Win.ini and registry to boot an application, how can i make it so that only one instance of the application will run?

Essentially i want it to check if the app is already open, if so unload itself, if not continue to load itself.


Can i set this to happen on splash screen ini?

Any help would be appreciated.