Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ATL::CComModule::RegisterServer

Tags:

com

atl

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

like image 820
Stefan Avatar asked Oct 20 '25 05:10

Stefan


1 Answers

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.

like image 156
Phil Booth Avatar answered Oct 22 '25 05:10

Phil Booth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!