Command-Line Error D8045
Visual Studio 2005
Error Messagecannot compile C file 'file' with the /clr option
Only C++ source code files can be passed to a compilation that uses /clr. Use /TP to compile a .c file as a .cpp file; seefor more information.
For more information, see.
D8045 can also occur if you compile an ATL application using Visual C++ 2005. Seefor more information.