Have the second instance write the parameters to a temporary file before quitting. Then have the first instance read the parameters from the temporary file and delete it. If that's too messy, then you could also do the same type of thing using an environment variable or the registry. Just have the second instance dump it's parameters somewhere and then have the first instance read them.
Allowing only a single instance of a program
BlitzMax Forums/BlitzMax Programming/Allowing only a single instance of a programThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.