Microsoft KB Archive/839136

= FIX: Your Visual C++ 6.0 application may stop responding after an extended period of time when you compile and release it in debug mode =

Article ID: 839136

Article Last Modified on 10/18/2005

-

APPLIES TO


 * Microsoft Visual C++ 6.0 Service Pack 5

-





SYMPTOMS
When you compile and then release your Microsoft Visual C++ 6.0 application in debug mode, the application may stop responding (hang) after an extended period of time.

Note If you compile your application in release mode, this problem does not occur.



CAUSE
This problem occurs when your application frequently allocates memory and then frees memory. In debug mode, the debug heap is limited to 0xFFFFFFFF memory allocations (32 bit integer). Therefore, when this limit is reached, the DebugBreak function is called and your application stops responding.



RESOLUTION
To resolve this problem, obtain the latest service pack for Visual Studio 6.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

834001 List of bugs that are fixed in Visual Studio 6.0 Service Pack 6



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: VC++

Keywords: kbbug kbfix KB839136

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.