COleTemplateServer::UpdateRegistry fails in Vista

  • Thread starter Thread starter PaulBrewer
  • Start date Start date
P

PaulBrewer

With both my app and samples like Hiersvr, COleTemplateServer::UpdateRegistry
fails on Vista As an example, from debug output window in VS2008,
errors are (for Hiersvr):
Error: failed setting key 'CLSID\{00021841-0000-0000-C000-000000000046}' to
value 'MFC 4.0 Hierarchy List'.
Error: failed setting key
'CLSID\{00021841-0000-0000-C000-000000000046}\ProgID' to value
'HierSvr.Document.4'

Anyone know what's going on here??
 
It seems that the keys probably do not exist or you need to run the
applications with elevated privileges.

With both my app and samples like Hiersvr,
COleTemplateServer::UpdateRegistry
fails on Vista As an example, from debug output window in VS2008,
errors are (for Hiersvr):
Error: failed setting key 'CLSID\{00021841-0000-0000-C000-000000000046}' to
value 'MFC 4.0 Hierarchy List'.
Error: failed setting key
'CLSID\{00021841-0000-0000-C000-000000000046}\ProgID' to value
'HierSvr.Document.4'

Anyone know what's going on here??
 
Back
Top