Compiler Error C2322

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C2322.

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

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

Show: