Open main menu

CDOT Wiki β

Changes

Assignment 1: Q & A

262 bytes removed, 04:48, 20 September 2012
Q & A
'''Q:''' How to avoid heap corruption? When compiling and running I run a1test with visual studioif I keep pressing RIGHT, the program crashes after sending some keystrokes with this error: <br>Critical error detected c0000374 Windows has triggered a breakpoint in a1.exe. This may be due to a heap corruption of the heap, which indicates a bug in a1.exe or any of the DLLs it has loaded.<br>Even when<u>I commented out replace my custom line edit codewith skeleton methods (display does nothing, leaving empty methods yet this edit returns RIGHT) the program still happens. If I compile crashes with borland I can not reproduce this issue.corrupt heap</u> I think borland must use a private heap that windows can't see.
<br>
'''A:''' <br>