Weird Errors in VS 2003
I'm trying to port my code from Borland C++ 5.5 to VS 2003 (non .NET project)
I have a couple of questions on how do I work with VS 2003:
1. I have more than one source file, do I need to include them all in the "Source Files" ?
When I do and attempt to build a solution, it gives me tons of weird errors of the ';' and ')' syntax kind...
Why is that???
2. I have a feeling that the VS 2003 acts as if my code is C++, even that the source's file name ends with .c, is there a way to adjust it?
3. How is it possible that the VS 2003 doesn't know what are the VK_F1 and DS_MODALFRAME keywords in the resource file?!
I'm really lost with this compiler, please help...
Well I managed to solve some of the problems, but I'm not sure that's the way it should be!
As I said I have multiple source (*.c) files, which I would like to include in the "Source Files" folder of the "Solution Explorer" (on the right).
When I attempt to build a solution I get multiple errors which have no base at all!
Once I remove all the files except the main source file (the main source has includes to all the other files) the project compiles and builds successfully! How could that be?
But I managed to bypass the errors by simply telling the VS to exclude the other files from the build...
(source file right click) -> Proporties -> General -> Exclude from build = YES
The question remains, does it really suppost to be like that?