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

Someting wrong with SubWCRev typelib registration

From: Dmitry <wipedout_at_yandex.ru>
Date: Fri, 25 Feb 2011 18:09:26 +0300

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
}

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

Could you please address it? I suppose just adding the "helpstring" should be enough.

Thank you.
Dmitry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2707526

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-02-25 16:09:33 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.