re:Single Application Instance Example

2005-06-23 Thread DeRRudi
Whit this mutex is it possible when an instance is running in background and you try to open a new instance. you cancel it and show the first? Greetz -- http://mail.python.org/mailman/listinfo/python-list

Open running processes

2005-06-28 Thread DeRRudi
Hi all, 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 understand

re:Open running processes

2005-06-28 Thread 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. Greetz. ps. I'm always willing to learn! :D -- http://mail.python.o

re:Open running processes

2005-06-29 Thread 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.iconize(false) I'm not su

re:Open running processes

2005-06-30 Thread 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 -- http://mail.python.org/mailman/listinfo/python-list

Re: RE: Open running processes

2005-06-30 Thread DeRRudi
> 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

Re: RE: RE: Open running processes

2005-06-30 Thread DeRRudi
> 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