Original Post
I''m creating a dll and exporting a class with static variables something like this:
class __declspec(dllexport) MyClass{
public:
MyClass();
~MyClass();
static int test;
};
The problem is that I get a linker error when I try to build the exe that uses the dll stating unresolved external symbol on the static variable. Any ideas?