On Wed, Feb 17, 2010 at 13:55, Oddvar Kloster <okl_at_sintef.no> wrote:
>> -----Original Message-----
>> From: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
>> Sent: 16. februar 2010 19:03
>> To: dev_at_tortoisesvn.tigris.org
>> Subject: Re: Windows restart ?
>> On 16.02.2010 13:10, Lübbe Onken wrote:
>> > Stefan Küng wrote:
>> >> Simple: they kill all explorer.exe instances, run the installation,
>> >> then create a new process "explorer.exe".
>> >> But: good luck if there's another app that has the dlls loaded.
>> >> (file-open dialogs, shell icon use, ...)
>> > Out of curiosity: would it be possible to use a two stage system to
>> > explorer and other apps?
>> > Something like:
>> > 1) a wrapper dll which is loaded by explorer
>> > 2) this wrapper dll loads "the real" dll and passes all calls through
>> > Upon an installation of TortoiseSVN, the installer sends a
>> > to the wrapper dll which first unloads "the real" dll, and always
>> And here's the problem: how to send that message? And how would that
>> message be received by the dll?
>> Window messages won't work, as won't pipes.
> You could have the wrapper dll run a thread dedicated to watching for some signal, e.g. a global named semaphore.
Not possible: there can be mutliple dll instances. They can't share
the same signal or port to listen to.
Also: please stop with your suggestions when you reach the point of
implementing a whole framework. Yes, I know there *is* a way to get
TSVN install without a restart needed. But I'm not going to implement
it because it's just too much code to write.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-17 15:25:05 CET