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

Re: Someting wrong with SubWCRev typelib registration

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 25 Feb 2011 19:18:33 +0100

On 25.02.2011 16:09, Dmitry wrote:
> Hey.
>
> As of r19175 (I don't see any relevant changes since that revision) OLEView displays SubWCRev typelib as "0 (Ver FLAGS)" while other typelibs on the same machines have pretty looking names like for example "COM+ Services Type Library (Ver 1.0) - I chose "COM+ Services" since they are surely available on any machine.
>
> Registration of SubWCRev slightly differs (screenshot of OLEView are attached - they are much easier to analyze). It has the following structure for SubWCRev:
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{40ACF49D-74FF-4165-94E9-0E002C448520}]
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{40ACF49D-74FF-4165-94E9-0E002C448520}\1.0]
> @="LibSubWCRev"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{40ACF49D-74FF-4165-94E9-0E002C448520}\1.0\0]
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{40ACF49D-74FF-4165-94E9-0E002C448520}\1.0\0\win32]
> @="C:\\Program Files\\TortoiseSVN\\bin\\SubWCRevCOM.exe"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{40ACF49D-74FF-4165-94E9-0E002C448520}\FLAGS]
> @="0"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{40ACF49D-74FF-4165-94E9-0E002C448520}\HELPDIR]
> @="C:\\Program Files\\TortoiseSVN\\"
>
> and the following is for COM+ Services:
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{2A005C00-A5DE-11CF-9E66-00AA00A3F464}]
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{2A005C00-A5DE-11CF-9E66-00AA00A3F464}\1.0]
> @="COM+ Services Type Library"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{2A005C00-A5DE-11CF-9E66-00AA00A3F464}\1.0\0]
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{2A005C00-A5DE-11CF-9E66-00AA00A3F464}\1.0\0\win32]
> @="C:\\WINDOWS\\system32\\COMSVCS.DLL"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{2A005C00-A5DE-11CF-9E66-00AA00A3F464}\1.0\FLAGS]
> @="0"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{2A005C00-A5DE-11CF-9E66-00AA00A3F464}\1.0\HELPDIR]
> @="C:\\WINDOWS\\system32\\"
>
> It's clear that there's a pretty name as the default value in "1.0" subkey in case of COM+ Services and just the typelib short name in case of SubWCRev. Also "FLAGS" and "HELPDIR" are subkey of "1.0" for COM+ Services but are at the same level as "1.0" for SubWCRev.
>
> The IDL file clearly lacks "helpstring attribute":
>
> [
> uuid(40ACF49D-74FF-4165-94E9-0E002C448520),
> helpstring( "Pretty name for the typelib" ),<<<<< missing
> version(1.0)
> ]
> library LibSubWCRev
> {
> //blahblahblah
> }
>

Done in r20936.

> Also when I click "View" in OLEView it spawns an error message "LoadRegTypelib failed" while there's no problem viewing other typelibs this way.

I don't get that error. But I hope my changes will be enough to fix this
for you too.

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=2707616
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-02-25 19:18:45 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.