I have a a Win32 DLL project in VS2008, it is written in a handful of C modules.
Because I also want to be able to build outside VS2008, with no dependency on VS2008, I have produced a custom makefile, that does all the build and link steps. All this is set up just fine.
Now I'd like to add a couple C++ modules to this DLL. I have modified the custom makefile to compile the .cpp modules as C++, and the .c modules as regular C (/Tc) . This all works. It links everything together, no problem .
Can I configure the VS2008 project to do the same?
Can I mix C++ and C in the same VS2008 project?
Or do I need a custom build step for this?
Thanks.
ANSWER
I had the VS2008 project set to compile as C. I needed to change it to Compile As "Default". Right click the project, select Properties, and then... :
Thanks, Pavel.