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