[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 17 Feb 2010 12:51:46 +0100

On Wed, Feb 17, 2010 at 09:43, Lübbe Onken
<luebbe.tortoisesvn_at_googlemail.com> wrote:
> Stefan Küng wrote:
>> On 16.02.2010 13:10, Lübbe Onken wrote:
>>> 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.
>
> Wouldn't it be possible to call a method in the wrapper dll from the
> installer?

Sure, any process can call a method in a dll. But it has to load the dll first.
So: it's possible but useless. It would have to call the method of the
dll that the other process has already loaded, effectively accessing
another processes memory - and that's not allowed.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2448337
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-17 12:52:11 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.