Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC 6.0 MFC MDI new frame / view without caption erases Windows → New titles Pin
Richard MacCutchan11-Nov-11 6:38
mveRichard MacCutchan11-Nov-11 6:38 
QuestionBeginner with C++ - Need helps with overload member function error Pin
LongDuyTran10-Nov-11 19:21
LongDuyTran10-Nov-11 19:21 
AnswerRe: Beginner with C++ - Need helps with overload member function error Pin
Chuck O'Toole10-Nov-11 20:30
Chuck O'Toole10-Nov-11 20:30 
GeneralRe: Beginner with C++ - Need helps with overload member function error Pin
LongDuyTran11-Nov-11 2:19
LongDuyTran11-Nov-11 2:19 
AnswerRe: Beginner with C++ - Need helps with overload member function error Pin
Chuck O'Toole11-Nov-11 4:41
Chuck O'Toole11-Nov-11 4:41 
GeneralRe: Beginner with C++ - Need helps with overload member function error Pin
krmed11-Nov-11 7:05
krmed11-Nov-11 7:05 
AnswerRe: Beginner with C++ - Need helps with overload member function error Pin
Stefan_Lang11-Nov-11 2:17
Stefan_Lang11-Nov-11 2:17 
QuestionWindows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 7:55
sdancer7510-Nov-11 7:55 
Hi,

The following code in VS2008

C++
CString str;
char	Singature[16];

strcpy (str.GetBuffer() , Singature);
str = "_________________Header_________________";


reports me the following message :

"Windows has triggered a breakpoint in xxxxx
This may be due a corruption of the heap, which indicates a bug in xxxx or any of the DLLs it has loaded."

When I delete the strcpy code, then it works fine. What seems to be the problem here ? The mentioned code it worked just fine in VS6.
sdancer75

AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Richard Andrew x6410-Nov-11 8:35
professionalRichard Andrew x6410-Nov-11 8:35 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 9:26
sdancer7510-Nov-11 9:26 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Richard Andrew x6410-Nov-11 9:29
professionalRichard Andrew x6410-Nov-11 9:29 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 21:51
sdancer7510-Nov-11 21:51 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Chris Losinger10-Nov-11 8:36
professionalChris Losinger10-Nov-11 8:36 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 9:29
sdancer7510-Nov-11 9:29 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Chris Losinger10-Nov-11 10:03
professionalChris Losinger10-Nov-11 10:03 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 21:52
sdancer7510-Nov-11 21:52 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Chuck O'Toole10-Nov-11 16:35
Chuck O'Toole10-Nov-11 16:35 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
jschell10-Nov-11 8:38
jschell10-Nov-11 8:38 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 9:32
sdancer7510-Nov-11 9:32 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Richard MacCutchan10-Nov-11 11:33
mveRichard MacCutchan10-Nov-11 11:33 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap PinPopular
Chuck O'Toole10-Nov-11 9:42
Chuck O'Toole10-Nov-11 9:42 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Albert Holguin10-Nov-11 14:54
professionalAlbert Holguin10-Nov-11 14:54 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Richard Andrew x6410-Nov-11 9:44
professionalRichard Andrew x6410-Nov-11 9:44 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 21:49
sdancer7510-Nov-11 21:49 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Erudite_Eric10-Nov-11 20:59
Erudite_Eric10-Nov-11 20:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.