ATL7 Attributes and Registry
-
I ran across something interesting in VS.NET 2k3. I'm not sure if this is by design or not, so I thought I'd ask here to see if I'm the only one experiencing this issue: I'm coding an Internet Explorer band control using ATL. I decided to take the plunge and use attributes rather than the traditional class heirarchy. I found that the RGS file is never parsed! Apparently the "module" attribute takes care of the AppID and the "coclass" attribute registers the COM object CLSID. Here's my dilemma: I need to add some registry settings that enable IE to launch my band control. I have always done this by placing the appropriate code in the RGS file. Now, it appears that I will have to overload the module's "RegisterServer" function in order to accomplish the same thing. Is this true? Thank you for any light that can be shed on this subject! -- Paul "I drank... WHAT?"