AddFromGuid and Major.Minor version number

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Howard Kaikow (kaikow_at_standards.com)
Date: 07/01/04


Date: Thu, 1 Jul 2004 09:31:53 -0400

I have a registered DLL that I compiled using 2.0.0 for the version in the
Make properties.
However, if I use AddFromGuid(strGUID, 2, 0), I am informed that the object
is not registered.

Works OK, if I use either AddFromGuid(strGUID, 0, 0) or AddFromGuid(strGUID,
1, 0).

Examining the registry, I see the version of the type library is 1.0, even
tho I compiled using 2.0.0.

How can I eliminate this inconsistency in version identification?

-- 
http://www.standards.com/; See Howard Kaikow's web site.


Relevant Pages

  • Re: office 97
    ... My recollection is that the info is in the registry, ... See Howard Kaikow's web site. ... > I lost the case for my office 97, so where can I get the id so that I can ...
    (microsoft.public.office.misc)
  • Windows Installer
    ... I would guess that this involves at least a tweak to the registry. ... See Howard Kaikow's web site. ...
    (microsoft.public.win2000.registry)
  • Re: AddFromGuid and Major.Minor version number
    ... Howard Kaikow wrote: ... > I have a registered DLL that I compiled using 2.0.0 for the version in the ... > Examining the registry, I see the version of the type library is 1.0, even ... that's available to add-ins. ...
    (microsoft.public.vb.general.discussion)
  • Windows Installer
    ... I would guess that this involves at least a tweak to the registry. ... See Howard Kaikow's web site. ...
    (microsoft.public.win2000.general)
  • Re: Priceless Word docs open with boxes everywhere
    ... The missing file will have been replaced but the registry entry and the ... Word MVP web site http://word.mvps.org ... Search the installation disc for this file. ...
    (microsoft.public.word.pagelayout)