tags:

views:

40

answers:

2

What EXACLTY (what registry keys it writes) does the ATL::CComModule::RegisterServer(TRUE) call do?

+2  A: 

A good way for finding out this is to download the Process Monitor and set it up to monitor registry changes (I'm assuming this is possible, it was in the older tool RegMon at least and this is the replacement) and then you do one RegisterServer and one Unregister and you'll have the complete list.

You'll probably have to set up some filters to filter out the stuff you don't want to see but should be easy to do.

ho1
+1, you could "see" what this function do yourself
lz_prgmr
+4  A: 

For each class that uses the OBJECT_ENTRY_AUTO macro, it will run the corresponding registry script resource (.rgs file) listed in your resource file, as identified by the DECLARE_REGISTRY_RESOURCEID macro.

Additionally, because you are passing TRUE for bRegTypeLib, it will also run the registry script identified by DECLARE_REGISTRY_APPID_RESOURCEID.

Phil Booth