Thread: Weird Errors in VS 2003

  1. #1
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768

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

    Thank you.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  2. #2
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    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?
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Winsock compilation errors
    By jmd15 in forum Networking/Device Communication
    Replies: 2
    Last Post: 08-03-2005, 08:00 AM
  2. weird errors
    By R3N3G4D3 in forum Windows Programming
    Replies: 0
    Last Post: 06-14-2005, 06:54 AM
  3. weird errors...
    By dug in forum Windows Programming
    Replies: 5
    Last Post: 06-27-2003, 01:09 PM
  4. executing errors
    By s0ul2squeeze in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2002, 01:43 PM