[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Windows restart ?

From: Oddvar Kloster <okl_at_sintef.no>
Date: Wed, 17 Feb 2010 13:55:52 +0100

> -----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

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.