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

Re: intl3_svn.dll & another TSVN dlls

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-05-23 07:26:42 CEST

On 5/22/07, George Hazan <george.hazan@gmail.com> wrote:
> >> These extensions are being loaded on call of shell dialogs or on a call
> >> of ShellExecute(), but I'm pretty sure that Miranda doesn't call noone of
> >> them. It just display the contact list window, and all TSVN dlls are
> >> there.
> SK> Well, you could look at the sourcecode of Miranda and find out.
>
> Cause I'm the Miranda's core maintainer, I do it quite often :) I'm sure
> that Miranda doesn't call ShellExecute to open a contact list.

ShellExecute() is an API to start another process. Of course you don't
call that one. But I'm sure you're using some other shell API which
loads the shell dll with the extensions.
(hint: those api's usually start with SH* or Path*).
Just step through your app until the dll's are loaded (you should see
that in the debugger window). Then you'll know what API call is
responsible for this.

> SK> Your example that '~30 icons + 20K of code' is simply not possible. The
> SK> context menu extension has to parse the working copy and find out its
> SK> status to show the menu entries. Otherwise we'd have to show *all*
> SK> entries all the time.
>
> What about process filtering? Just quit without loading, if the process name
> isn't an explorer, or TC, or FAR.

What do you think the setting "show overlays only in explorer" does?

> Also these dlls produce some memory leaks, which are littering my memory
> analyzer.

In that case, you're not correctly loading the shell dll or you don't
correctly unload it after using it. I can assure you that the tsvn
shell extension has no memory leaks at all.

> SK> You should maybe complain on the Miranda support forum/mailing-list
> SK> about this. After all: they're loading the dll without an obvious
> reason.
>
> No, "they" don't :)

Ok, then *you* do :)

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed May 23 07:26:51 2007

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

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