Thread: MS VC++ Crash on compilation

  1. #1
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    MS VC++ Crash on compilation

    Ever since I changed OS from w98 to wXP I've had some trouble with compilation in MS VC++. Most of the time (not always) when I'm compiling a program that has some syntax error in it VC crashes. Well, not the actual IDE but rather the compiler. I can still access menues and such, however I can't stop the compilation. It just freezes and won't stop. Like if it enters some kind of infinite loop. And I can't exit the program cause "a compilation is still in progress".
    It get kinda tedious after a while that you have to Ctrl+Alt+Delete to quit the program then start it again to make another compile attempt.

    Does this problem sound familiar to someone? I've reinstalled MS VC several times but the error is still there. It's version 6.0.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Also, since I reinstalled MSVC a lot of error messages pop up on certain sites I visit (like when writing a new post here on cprogramming.com). If I remember correctly there was some kind of program included in MSVC that checks scipts on sites, or something. But I can't find to disable it. Does anyone know what I mean?

    The errors looks like this:
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    While I can only admire your multilingual capabilities I wonder if you would care to translate the error message you're receiving so that a monolingual dumbass like me can understand it. Thanks!

    But if that's the 'scripting error' messagebox with the 'do you want to debug, yes/cancel' then I generally just ignore ie 'cancel' it. There may be some way to physically disable it - I seem to recall that being discussed at some point but don't recollect if there is a way to switch it off.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    In IE, Tools > Internet Options > Advanced > Disable Script Debugging (under the "browsing" list)
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Translation:

    An error has occured. Do you want to debug?
    Row: 2
    Error: Syntax error!

    Thanks hammer, that seems to have solved it.
    My first (and most important) question still remains though.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  6. #6
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Code:
    An error has occured. Do you want to debug?
    Row: 2
    Error: Syntax error!
    I left a message for Alex asking him to fix the script bug anyway.

    Sorry, can't help with your main problem though
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  7. #7
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Originally posted by Hammer
    In IE, Tools > Internet Options > Advanced > Disable Script Debugging (under the "browsing" list)
    That's it. Thanks.

    >>My first (and most important) question still remains though.<<

    Have you installed service pack 5? Are you using latest psdk? Is the problem localised to a single project (if so, remove that project and create a new one; i've found that msvc6 is sometime 'temperamental') or, does it occur with all/any project?
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  8. #8
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Originally posted by Hammer
    In IE, Tools > Internet Options > Advanced > Disable Script Debugging (under the "browsing" list)
    For some reason, when I was using IE, that box would continually "check itself." I would go into the menus and uncheck it, and it would work for a while, and then it would stop working, I would get the error messages, and would have to disable it again. Not to turn this into a browser-flame...but Mozilla doesn't do it
    Away.

  9. #9
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Originally posted by Hammer
    I left a message for Alex asking him to fix the script bug anyway.
    Hm, the error message I showed before was for Hotmail actually. The one that pops up here says something about a missing ')' at row 110.

    Originally posted by confuted
    For some reason, when I was using IE, that box would continually "check itself." I would go into the menus and uncheck it, and it would work for a while, and then it would stop working, I would get the error messages, and would have to disable it again.
    I know what you mean. That applies for most M$ products. Like in explorer when you've set all folders to display as 'detailed list', suddenly one day they show as 'big icons'. And all 'my music', 'my documents', 'my whatever' folders they create everywhere. Can't they understand? IF I WANT A FOLDER I'LL MAKE IT MYSELF .

    Originally posted by Ken Fitlike
    Have you installed service pack 5?
    I'll check it out. Downloading it now.

    Are you using latest psdk?
    The latest what?

    Is the problem localised to a single project or does it occur with all/any project?
    All projects (and single files).
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  10. #10
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>The one that pops up here says something about a missing ')' at row 110.
    Yeah, that's the one.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  11. #11
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Yay, the service pack seems to have eliminated the bug. I haven't done any serious testing, but I managed to do several 'erronous' compilations in a row and it didn't crash.
    Joy! You're my hero tonight, Ken
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Speed test result
    By audinue in forum C Programming
    Replies: 4
    Last Post: 07-07-2008, 05:18 AM
  2. Generic heapsort
    By Sephiroth1109 in forum C Programming
    Replies: 15
    Last Post: 12-07-2007, 06:14 PM
  3. Difference in MSVC 6 & MS VC .Net
    By passionate_guy in forum C Programming
    Replies: 1
    Last Post: 01-23-2006, 06:39 AM
  4. Ping
    By ZakkWylde969 in forum Tech Board
    Replies: 5
    Last Post: 09-23-2003, 12:28 PM
  5. The Timing is incorret
    By Drew in forum C++ Programming
    Replies: 5
    Last Post: 08-28-2003, 04:57 PM