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

Re: Register shell extension on Win 7

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 29 Nov 2009 08:23:53 +0100

On 29.11.2009 07:20, Stephen Sherbert wrote:
> First of all, I can't get TortoiseSVN to work on Win 7. It hangs when
> trying to open plink.exe to make the connection. I've spent a lot of
> time troubleshooting this issue and decided I will try to debug the
> issue myself.
>
> So on to my current issue. I downloaded the latest source as of today,
> built a debug version successfully, and then followed the instructions
> in debug-hints.txt. I added the I've run register.reg to register the
> shell extension with explorer.exe, however TortoiseSVN is not showing up
> in the context menus of the explorer. Ultimately I want to debug the
> shell extension, but it won't run from the version I built myself. I
> uninstalled the original TortoiseSVN that I downloaded in case there
> were conflicts with the version I built. I've re-run register.reg/
> deregister.reg a few times. I've double checked them for path
> accuracy. I'm using Visual Studio 2008 + sp1 and I got no build errors
> building Subversion + TortoiseSVN targets.
>
> Any suggestions for me to try to get my own build to run as a shell
> extension?

If you're using the 1.6.x version, you have to remove/comment code in
TortoiseSVN.cpp, DllMain(). Just remove/comment everything at the start
of that function between the #ifdef _DEBUG statement.
The reason is that this doesn't work on Win7 anymore, so that code isn't
there anymore on trunk.

Another problem on Win7 is that it's not possible to start a separate
explorer process from VS. All you can do is to start one yourself and
then attach the debugger to that process.

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=2425181
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-29 08:24:05 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.