
3 Mar
2008
3 Mar
'08
1:59 p.m.
On 03/03/2008, John Maddock <john@johnmaddock.co.uk> wrote:
Simon Hammett wrote:
vc 7.1 and above offers __declspec(selectany) This used by Atl to ensure only one Atl module gets created I believe. Not used it myself though...
According to the docs this just creates the object in a COMDAT section - that will merge multiple instances in one module, but not across modules as far as I know?
Yup. Just had a quick play and it's useless as far as dlls go. :( I knew there was a reason I stick with static libs...