Re: doubts in registry and GUID

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Tim Roberts <timr@xxxxxxxxx> writes:

Kalle Olavi Niemitalo <kon@xxxxxx> wrote:

There is this error documented for CLSIDFromString
<http://msdn.microsoft.com/en-us/library/ms680589(VS.85).aspx>:

"REGDB_E_CLASSNOTREG
The CLSID corresponding to the class string was not found
in the registry."

which seems to indicate that CLSIDFromString might not work
reliably on GUIDs that have not been registered as CLSIDs.

Are you enclosing the GUID in curly braces? I did test my suggestion
before I posted it:

I did not test CLSIDFromString and I don't have a Windows SDK at
home. For all I know, the REGDB_E_CLASSNOTREG error might depend
on some policy setting.
.



Relevant Pages

  • Re: Server Error - need help to fix ASAP
    ... I am unable to identify from the Registry Entry the CLSID of the program ... The SBS server help system cannot supply any information about how to fix ... A reboot should fix this temporarily. ...
    (microsoft.public.windows.server.sbs)
  • Re: CFG file format
    ... And a regular COM object will have entires under both CLSID ... least this is how most other COM object appear in the registry. ... >> I do mean CFG file which is used to define Forms that I ... >> This adds a CLSID entry in the registry and my form is invoked. ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Need help with COM dll registration at runtime
    ... It's a flag in another format specifier, it can't be used on its own. ... Iff, instead of ri, or some variable where I have copied the CLSID ... that DLL, call DllGetClassObject in it, and obtain an interface pointer. ... You seem to be hard-coding CLSID_IPTPlugin into the registry key name, ...
    (microsoft.public.vc.language)
  • Re: IE menu extension
    ... And it also doesn't work in HKLM if you use a unique ... CLSID to name the subkey? ... DLL is registered. ... you could just make a little program to write the Registry ...
    (microsoft.public.vb.general.discussion)
  • Re: Registration for WMP in Windows CE.
    ... > are the registry setting need to update...I really almost fed up just ... That appears to me to be the right CLSID (although it would be ... >> Paul T. ... >>> couldn't found any entry in registry of Windows CE.But I found this ...
    (microsoft.public.windowsce.embedded.vc)