#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.