Pass in additional command line arguments to a single instance app
- From: p19010101@xxxxxxxxx
- Date: 23 Jan 2007 20:08:45 -0800
I was wondering how to pass in additional command line arguments to a
single instance app that is already running.
What I'm trying to do is that user invokes the app and pass in a
filename to be processed, while it's processing (which may take some
time) the user can invoke the app again and pass in a different file,
but this time, instead of launching a second instance of the app, the
2nd file should just queue up in the 1st instance of the app. User can
invoke the app many times, eventually there will be a long queue within
that one and only instance.
Qestion is how to pass the new filenames (as command line arguments) to
the loaded app? I'm looking at DDE at the moment but it seems not the
best way to do this, are better alternatives exist?
Thanks!
.
- Follow-Ups:
- Re: Pass in additional command line arguments to a single instance app
- From: Norman Bullen
- Re: Pass in additional command line arguments to a single instance app
- From: Igor Tandetnik
- Re: Pass in additional command line arguments to a single instance app
- Prev by Date: Re: Multi processing
- Next by Date: Re: Pass in additional command line arguments to a single instance app
- Previous by thread: Problem with #importing Excel .OLB
- Next by thread: Re: Pass in additional command line arguments to a single instance app
- Index(es):
Relevant Pages
|