Click here to Skip to main content
15,905,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Link error 2019 Pin
Cool_Dev11-Jun-10 3:15
Cool_Dev11-Jun-10 3:15 
GeneralRe: Link error 2019 Pin
arun_pk11-Jun-10 3:18
arun_pk11-Jun-10 3:18 
GeneralRe: Link error 2019 Pin
arun_pk11-Jun-10 3:20
arun_pk11-Jun-10 3:20 
AnswerRe: Link error 2019 Pin
Cedric Moonen11-Jun-10 2:44
Cedric Moonen11-Jun-10 2:44 
GeneralRe: Link error 2019 Pin
arun_pk11-Jun-10 2:46
arun_pk11-Jun-10 2:46 
QuestionGlitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor10-Jun-10 23:36
Robert Inventor10-Jun-10 23:36 
AnswerRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat12-Jun-10 5:16
Code-o-mat12-Jun-10 5:16 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor12-Jun-10 6:25
Robert Inventor12-Jun-10 6:25 
It happens on my laptop as well, so two different computers and on my desktop, under Vista and also under Windows 7.

Yes, that definitely sounds like a possibility. I work in C rather than C++ at a low level so have to be very careful about memory corruption, and array overflow etc. I also rather wondered if that might be the cause but hoped it would be something else!

Yes I have done a complete rebuild several times. I have made a fair number of changes in the code and it still happens.

The tricky thing about the bug is that I have made many changes in the code and since it is sporadic and fairly rare in occurrence, I have no idea when it first started as it could have been present and undetected before I noticed it.

So there is no way to know which change in the code introduced the bug (or made it noticeable at least) and no way to "roll back" to a last known "good build".

Anyway looks as if I need to make a careful check for memory corruption.

I generally use Visual C++ 6.0 still, but ran the program in Visual C++ 2010 Express as it sometimes flags memory corruption issues and other issues not noticed by the older compiler. But nothing turned up - was able to reproduce the bug while running it in the debugger, and no issues were reported by it.

Looks like a case for a memory debugger then. So far I've got by without one but this has me stumped, and it's about 15,000 lines of code, possibly more, so it would take a fair while to work through it all looking for the bug.

I'm downloading an evaluation version of Purify for Win just now, and I may try Insure++ as well. Will reply here if it fixes it.

Do say if you have any other recommendations for a good memory debugger for this sort of a bug anyone, preferrably free or low cost as I don't have much of a budget for it.

Thanks,

Robert
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat12-Jun-10 7:00
Code-o-mat12-Jun-10 7:00 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor12-Jun-10 15:18
Robert Inventor12-Jun-10 15:18 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor12-Jun-10 15:34
Robert Inventor12-Jun-10 15:34 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly [modified] Pin
Robert Inventor12-Jun-10 15:35
Robert Inventor12-Jun-10 15:35 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat12-Jun-10 23:08
Code-o-mat12-Jun-10 23:08 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor13-Jun-10 5:40
Robert Inventor13-Jun-10 5:40 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat13-Jun-10 5:53
Code-o-mat13-Jun-10 5:53 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor13-Jun-10 10:50
Robert Inventor13-Jun-10 10:50 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat13-Jun-10 11:14
Code-o-mat13-Jun-10 11:14 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor20-Jun-10 6:03
Robert Inventor20-Jun-10 6:03 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat20-Jun-10 7:43
Code-o-mat20-Jun-10 7:43 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Robert Inventor3-Jul-10 6:30
Robert Inventor3-Jul-10 6:30 
GeneralRe: Glitchy mouse clicks out of sync. with position of caret in RichEdit control and text displayed incorrectly Pin
Code-o-mat3-Jul-10 6:43
Code-o-mat3-Jul-10 6:43 
QuestionMs PowerPoint Pin
MsmVc10-Jun-10 23:21
MsmVc10-Jun-10 23:21 
AnswerRe: Ms PowerPoint Pin
Cool_Dev10-Jun-10 23:55
Cool_Dev10-Jun-10 23:55 
GeneralRe: Ms PowerPoint [modified] Pin
MsmVc11-Jun-10 0:03
MsmVc11-Jun-10 0:03 
GeneralRe: Ms PowerPoint Pin
Cool_Dev11-Jun-10 0:18
Cool_Dev11-Jun-10 0:18 

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.