Compiler Error C2322

Error Message

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

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