[RESOLVED] Broken Visual studio
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: [RESOLVED] Broken Visual studio

  1. #1
    Join Date
    Jul 2002
    Location
    Portsmouth. United Kingdom
    Posts
    2,725

    [RESOLVED] Broken Visual studio

    For some reason, my Visual Studio 2008 Express has started to throw compile errors when including <iostream>

    All projects that previously compiled without errors are now failing.

    In fact I can reproduce this by creating a project containing the single line #include <iostream>

    The error I get is
    c:\program files\microsoft visual studio 9.0\vc\include\xstring(31) : error C2143: syntax error : missing ',' before '<'

    Reinstallation has had no effect.

    I'm stuck! Any ideas?
    "It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
    Richard P. Feynman

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,472

    Re: Broken Visual studio

    Didn't you changed one of the files in ...\vc\include\ directory?
    Victor Nijegorodov

  3. #3
    Join Date
    Jul 2002
    Location
    Portsmouth. United Kingdom
    Posts
    2,725

    Re: Broken Visual studio

    Not that I'm aware of. I imagine something got corrupted, but I hoped a re-install would fix it.

    I'm going to try to eradicate all traces of VS2008 from my PC and do another re-install.
    "It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
    Richard P. Feynman

  4. #4
    Join Date
    Jul 2002
    Location
    Portsmouth. United Kingdom
    Posts
    2,725

    Re: Broken Visual studio

    OK, that worked.
    "It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
    Richard P. Feynman

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,472

    Re: Broken Visual studio

    Quote Originally Posted by JohnW@Wessex View Post
    OK, that worked.
    So what was the problem?
    Victor Nijegorodov

  6. #6
    Join Date
    Jul 2002
    Location
    Portsmouth. United Kingdom
    Posts
    2,725

    Re: [RESOLVED] Broken Visual studio

    I don't really know. I assume one of the include file got corrupted in some way.
    A normal re-installation didn't seem to overwrite all of the files.
    I uninstalled VS, manually erased the folders, and then re-installed.
    "It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
    Richard P. Feynman

  7. #7
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,472

    Re: [RESOLVED] Broken Visual studio

    Well, you could look at the 'Date Modified' in Explorer column to see which files were recently changed...
    But It is already good you could solve this problem!
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center