
28 Apr
2011
28 Apr
'11
6:03 a.m.
Am 27.04.2011 18:21, schrieb Anthony Williams:
I don't see how you could put that in a header without risking multiple definition errors --- the header that initialized it would have to be included exactly once across the whole project. Failure to include it anywhere would mean that the init function would not be linked.
Would __declspec (selectany) be of any help? Peter