Adding non-standard file name extensions to C++ project

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to get filenames with a .cp exenstion to compile as C++ files in a VC++ .NET 2003 project. I have added the extension to the list in Tools > Options > Projects (& restarted) and when I get the properties of the .cp file in Solution Explorer it says that it will use "C/C++ Compiler Tool" as the tool.

However, when I open the file it is not syntax highlighted and when I compile the project I get the following erro
cl : Command line warning D4024 : unrecognized source file type 'stuff.cp', object file assume

Anyone know how to solve this one

Thanks a million!
 
Thanks! It works, now (I had only set it two other places and edited the registry :

Also thanks for the link, now I know where to find the real info...
 
Back
Top