background instance..
- From: kiran.inbng@xxxxxxxxx
- Date: 28 Mar 2006 04:03:40 -0800
Hi All,
I have some problem sharing data between two instances of same
application.Below is the design and the problem.
The requirement is to have one single application running in the
background and with one or many UI windows in the foreground.
Currently iam thinking of using the mutex method to restrict to one
instance of the exe.But the problem is everytime the instance of the
exe can launched with different command line parameters.So based on the
parameters i have to either create a dialog(which can again launch the
UI Windows) or directly create some UI windows.First question is how
can i share the command line info of the new instance of the exe with
the existing one.Secondly is there any better method of handling this
situation(currently the UI windows are on different threads).
Please provide some inputs.
Thanks,
kiran
.
- Follow-Ups:
- Re: background instance..
- From: muchan
- Re: background instance..
- From: Igor Tandetnik
- Re: background instance..
- Prev by Date: std::string destruction question
- Next by Date: Closing the handle of thread
- Previous by thread: std::string destruction question
- Next by thread: Re: background instance..
- Index(es):
Relevant Pages
|