how does the .RGS file works

后端 未结 1 685
走了就别回头了
走了就别回头了 2021-02-20 09:17

In the .rgs file, there are some registry info, and I want to know how does the info in .rgs file added into regetry?

I have a project AAA and it will g

1条回答
  •  北荒
    北荒 (楼主)
    2021-02-20 09:51

    Usually your code calls CComModule::UpdateRegistryFromResource() which in turn passes control to a special mechanism implemented in ATL which does the job - parses the resource that was produced by embedding the .rgs file into the module and edits the registry. ATL comes with sources so you can just read how it is done.

    0 讨论(0)
提交回复
热议问题