> Tim Goldenwrote:
> If you wanted to send over arbitrary data from another application,
> then this is certainly a way to do it. (Another way might be to use
a
> Windows pipe, for example). My point was only that if you are
signalling
> an event as a wake-up call plus an atom of extra information
[DeRRudi]
| > Tim Goldenwrote:
|
| > Assuming that you're answering my question: why use mmap and
| > not just two events? I understand what your overall plan is,
| > and it looks like you have a way to solve it. It just seemed
| > that you might be able to achieve the same thing with two
| > even
> Tim Goldenwrote:
>
> Rudi. I, at least, am reading this via the mailing list, not
> via Usenet nor via Google. This means that if you don't put
> any kind of context in what you post, I have to guess at what
> you're responding to. (All I see is the exact text you typed,
> nothing else).
>
> A
[DeRRudi]
| Well i want a external app to maximize and minimize my app.
| And later on i want the external one to send some data. Thought this
| would be the most easy (and fast) way!
|
| Greetz
|
Rudi. I, at least, am reading this via the mailing list, not
via Usenet nor via Google. This means
[DeRRudi]
| Well it doesnt work yet, but its gonna! ;)
| i've tested it with a little app. There is my main app (called it
| server) wich contains a thread. This thread listens to a mm (memory
| mapping) when an other program sets a flag
| (finished_producing_event.set() ) it just calls self.iconiz
[DeRRudi]
| It is a wxWindow app. It is a kind of datamanager. it is possible to
| minimize it to the systray.
|
| hmm.. i've thought of an solution using memorymapping. see if it
| works.. don't know if it is the 'best' or 'safest' way.. but ok.
Did your idea work out? If it didn't (or if it did
[DeRRudi]
| I have a programm. In this program i've made the restriction that only
| one instance can run at the time. (done with mutex).
| Now i'd like it to open the running (make visible) instance when
| someone want's to open it a second time.
| Does anybody know how to do this? I hope you all