Compiler Error C2322

'identifier' : address of dllimport 'dllimport' is not static

A nonstatic value was given as the address of a function declared with the dllimport modifier.