I'm currently writing an application that needs to be associated with a particular file extension -- but more importantly, I only want a single copy of the program running to deal with multiple files.
Is there an 'easy' way to handle this?
I know how to check the list of running processes upon application launch so the app can find out if there is already another copy running -- but how can one pass the name of the file to the already running application and trigger it into opening the file instead?
Or is the above going at it all wrong?
Is there an 'easy' way to handle this?
I know how to check the list of running processes upon application launch so the app can find out if there is already another copy running -- but how can one pass the name of the file to the already running application and trigger it into opening the file instead?
Or is the above going at it all wrong?
.gif)