Do any of you know how to pass command line argument to the first instance? I want that whenever user opens a second instance of an application, then I close second instance internally and pass the commandline arguments to the first instance?
I am already using a Mutex. My question is: How do I pass the Command-Line Arguments to the First instance? Sorry, I meant to specify that I was using a Mutex already. D:
It would help me a lot. Thanks!