Win32: How to use RegisterTypeLib API from standard user

前端 未结 2 1301
遇见更好的自我
遇见更好的自我 2021-02-09 19:58

The Win32 API call RegisterTypeLib() is used to create the registry keys necessary to register a type library.

Unfortunatly, on Windows XP, it tries to write those regis

相关标签:
2条回答
  • 2021-02-09 20:32

    Take a look at this blog entry I wrote. It will registry ATL COM objects into HKCU instead of HKCR using RegOverridePredefKey. You can use the same technique to call RegisterTypeLib and have it properly register under HKCU

    Register ATL as Normal User

    0 讨论(0)
  • 2021-02-09 20:52

    You can use the RegOverridePredefKey() API to map the HKEY_CLASSES_ROOT regtree to HKEY_CURRENT_USER\Software\Classes:

    • http://msdn.microsoft.com/en-us/library/ms724901.aspx
    0 讨论(0)
提交回复
热议问题