I have a rather large project Corethat I'm working with, I try to adapt it to use the DLL Engine that I created, I get a bunch of errors, such as:
unresolved external character "private: static class
When some headers from the kernel are included in the DLL, the class is exported via __declspec (dllexport), but any header with static members produces error redundancy relative to static members.
This is a fairly large project, I can’t exactly delete every static member of the class that I see, is there anything at all like that?
The main example of an imported class:
class __declspec(dllexport) MyClass
{
public:
static bool m_someVar;
}
For clarity, I just wanted to say that m_someVar is defined / declared (forgot the term) in the class implementation file