Win32: How to use RegisterTypeLib API from standard user

前端 未结 2 1311
遇见更好的自我
遇见更好的自我 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

提交回复
热议问题