Click here to Skip to main content
15,844,009 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 7:38
mveRichard MacCutchan11-Nov-11 7:38 
QuestionBeginner with C++ - Need helps with overload member function error Pin
LongDuyTran10-Nov-11 20:21
LongDuyTran10-Nov-11 20:21 
AnswerRe: Beginner with C++ - Need helps with overload member function error Pin
Chuck O'Toole10-Nov-11 21:30
Chuck O'Toole10-Nov-11 21:30 
GeneralRe: Beginner with C++ - Need helps with overload member function error Pin
LongDuyTran11-Nov-11 3:19
LongDuyTran11-Nov-11 3:19 
AnswerRe: Beginner with C++ - Need helps with overload member function error Pin
Chuck O'Toole11-Nov-11 5:41
Chuck O'Toole11-Nov-11 5:41 
GeneralRe: Beginner with C++ - Need helps with overload member function error Pin
krmed11-Nov-11 8:05
krmed11-Nov-11 8:05 
AnswerRe: Beginner with C++ - Need helps with overload member function error Pin
Stefan_Lang11-Nov-11 3:17
Stefan_Lang11-Nov-11 3:17 
QuestionWindows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 8:55
sdancer7510-Nov-11 8: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 9:35
professionalRichard Andrew x6410-Nov-11 9:35 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 10:26
sdancer7510-Nov-11 10:26 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Richard Andrew x6410-Nov-11 10:29
professionalRichard Andrew x6410-Nov-11 10:29 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 22:51
sdancer7510-Nov-11 22:51 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Chris Losinger10-Nov-11 9:36
professionalChris Losinger10-Nov-11 9:36 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 10:29
sdancer7510-Nov-11 10:29 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Chris Losinger10-Nov-11 11:03
professionalChris Losinger10-Nov-11 11:03 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 22:52
sdancer7510-Nov-11 22:52 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Chuck O'Toole10-Nov-11 17:35
Chuck O'Toole10-Nov-11 17:35 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
jschell10-Nov-11 9:38
jschell10-Nov-11 9:38 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 10:32
sdancer7510-Nov-11 10:32 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Richard MacCutchan10-Nov-11 12:33
mveRichard MacCutchan10-Nov-11 12:33 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Chuck O'Toole10-Nov-11 10:42
Chuck O'Toole10-Nov-11 10:42 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Albert Holguin10-Nov-11 15:54
professionalAlbert Holguin10-Nov-11 15:54 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Richard Andrew x6410-Nov-11 10:44
professionalRichard Andrew x6410-Nov-11 10:44 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 22:49
sdancer7510-Nov-11 22:49 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Erudite_Eric10-Nov-11 21:59
Erudite_Eric10-Nov-11 21: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.