Re: Preferred way of dll registration

2010-02-25 Thread Jacek Caban
Hi Paul, On 2/25/10 11:43 AM, Paul Vriens wrote: Hi Jacek, On 02/24/2010 09:30 PM, Jacek Caban wrote: Hi Paul, On 2/24/10 8:59 PM, Paul Vriens wrote: Hi, We seem to have 2 different approaches for dll registration: 1) a regsvr.c file with all the necessary functions and registry informatio

Re: Preferred way of dll registration

2010-02-25 Thread Paul Vriens
Hi Jacek, On 02/24/2010 09:30 PM, Jacek Caban wrote: Hi Paul, On 2/24/10 8:59 PM, Paul Vriens wrote: Hi, We seem to have 2 different approaches for dll registration: 1) a regsvr.c file with all the necessary functions and registry information. 2) an inf file and some code to register/unregis

Re: Preferred way of dll registration

2010-02-24 Thread Alexandre Julliard
Jacek Caban writes: > I think both 2) and 3) are way better than regsvr.c. It avoids code > duplication and you can add much more custom registries without a > single line of C (I'd call it more flexible, but it's more a better > flexibility/efforts factor). IRegistrar is much simplier than .inf

Re: Preferred way of dll registration

2010-02-24 Thread Jacek Caban
Hi Paul, On 2/24/10 8:59 PM, Paul Vriens wrote: Hi, We seem to have 2 different approaches for dll registration: 1) a regsvr.c file with all the necessary functions and registry information. 2) an inf file and some code to register/unregister the dll. 3) IRegistrar from atl.dll The first

Preferred way of dll registration

2010-02-24 Thread Paul Vriens
Hi, We seem to have 2 different approaches for dll registration: 1) a regsvr.c file with all the necessary functions and registry information. 2) an inf file and some code to register/unregister the dll. The first one is the most common in our source but I can remember a comment from AJ abou