> Hi Guys,
>
[quoted text clipped - 15 lines]
> I get linkage errors - 'un-resolved external symbol'. When I change
> Foo to non-static, it works. Any ideas?
Omar:
Because, in this context, static means "to be used only in this translation
unit". This use of the static keyword is deprecated in C++; use unnamed
namespace instead.
Also, you do not need extern here.

Signature
David Wilkinson
Visual C++ MVP
Omar.Khalid79@gmail.com - 20 Mar 2008 22:31 GMT
> Omar.Khali...@gmail.com wrote:
> > Hi Guys,
[quoted text clipped - 30 lines]
>
> - Show quoted text -
Thanks David!!!