Compiler Error C2773

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see Compiler Error C2773 on docs.microsoft.com. #import and #using available only in C++ compiler

The C compiler does not recognize the #import preprocessor directive. Compile the source as C++. Use /TP if necessary.

Show: