nonstandard extension used : 'identifier' : address of dllimport 'dllimport' is not static, identity not guaranteed
Under Microsoft extensions (/Ze), you can give a nonstatic value as the address of a function declared with the dllimport modifier. Under ANSI compatibility (/Za), this causes an error.