COleTemplateServer::UpdateRegistry fails in Vista

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??
 
H

Hiren

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??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top