Thread: Visual C++ 2010 express problems

  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    22

    Visual C++ 2010 express problems

    I tried the compiler out and have problems with it.

    First, the program window wouldn't close when in debug mode, only when the program terminated normally. The window would stay open even through task manager, and would not allow the computer to shut down, forcing you to shut the machine off manually.

    I found a hotfix solution from the microsoft website, and it initially solved the problem. I later discovered that the problem happened from installing a sync program with my mobile phone - very strange.

    But now, I can't even create a new project. When I type something in to name it and click OK, like I have been doing 100 times already, the program just ignores it and won't continue, leaving the screen idle...not frozen, but just won't do anything. I uninstalled the hotfix and it still does this. I searched for similar problems but nothing came up.

    Anyone here experiencing such similar problems?

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Man, what's wrong with Visual C++??? Since i remember myself digging into compiler information and history, i always hear about problems, bug etc ( Dont get me wrong, maybe that's not a problem... )
    Devoted my life to programming...

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    The reason you find so much bugs and problems is probably because it's so popular. Big software tend to have a lot of bugs.
    Can't say I've experienced the same problem, though. It sounds like the software is somehow corrupted. Reinstalling does not help?
    Also, so long as VS is running in debug mode, it usually won't let you kill some of its windows. Stopping debugging usually help that.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    Registered User
    Join Date
    Mar 2007
    Posts
    416
    When you said it wouldn't close in debug mode, are you trying to close the window via the X in the top right corner, or the stop button on the VS GUI?

    Visual Studios will hold a window open in debug mode until you hit the stop button, or until it exits normally.

    If this is not your problem then never mind.

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    First, the program window wouldn't close when in debug mode, only when the program terminated normally.
    The X button sends a WM_CLOSE message to your app. If you are not intercepting that and responding that is your app's fault.

    If your program is at a breakpoint it won't continue until you tell it to via the debugger.

    If your program is hung this is not the compiler's fault. There are several ways to terminate a hung debug app in MSVS. You can use task manager and shut down the task, you can select Stop debugging, Break, etc. to terminate it or stop execution from the debugger, or you may be forced to end task on MSVS itself.

    All of these are the fault of the application, not MSVS.

    If this is a bug in the 2010 compiler this is not representative of other MS compilers that have been released. I've used MSVC 6, 2003, 2005, and 2008 and none of them have any issues that aren't caused by the application it's attempting to run and debug.

  6. #6
    Registered User
    Join Date
    Jul 2010
    Posts
    22
    Quote Originally Posted by scwizzo View Post
    When you said it wouldn't close in debug mode, are you trying to close the window via the X in the top right corner, or the stop button on the VS GUI?

    Visual Studios will hold a window open in debug mode until you hit the stop button, or until it exits normally.

    If this is not your problem then never mind.
    The window can't be closed no matter what you try. The OS can't even close it during shutdown.
    MS is aware of the bug:

    You cannot close a console window of an application after you stop debugging the application in Visual Studio on a computer that is running Windows XP

  7. #7
    Registered User
    Join Date
    Jul 2010
    Posts
    22
    Quote Originally Posted by Elysia View Post
    . Reinstalling does not help?
    I tried it, and so far it works again. Haven't been using it though for the past few days. I'll keep my fingers crossed.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. LDAP Query
    By Travoiz in forum C++ Programming
    Replies: 0
    Last Post: 08-13-2009, 02:58 PM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. Visual Studio Express for free
    By Frobozz in forum C# Programming
    Replies: 2
    Last Post: 04-29-2006, 09:59 PM
  4. Visual C++ 2005 Express Edition
    By BestGameMovie in forum C++ Programming
    Replies: 6
    Last Post: 05-15-2005, 01:49 PM
  5. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 04:07 PM