Compiler Error C2491

'identifier' : definition of dllimport identifier not allowed

Data, static data members, or functions can be declared as dllimports, but not defined as dllimports.