> -----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
> fool
> > 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
> notification
> > 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.
Oddvar
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2448351
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-17 14:47:44 CET