Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Knowing if the Application is already beeing executed (Previnstance) Pin
Roger Stoltz5-Mar-08 21:12
Roger Stoltz5-Mar-08 21:12 
GeneralWindows Service Pin
act_x5-Mar-08 6:59
act_x5-Mar-08 6:59 
GeneralRe: Windows Service Pin
Joan M5-Mar-08 7:19
professionalJoan M5-Mar-08 7:19 
GeneralRe: Windows Service Pin
Mark Salsbery5-Mar-08 11:53
Mark Salsbery5-Mar-08 11:53 
GeneralRe: Windows Service Pin
Randor 5-Mar-08 8:13
professional Randor 5-Mar-08 8:13 
QuestionSelf-registered edit control class crashes because of wrong GetWindowTextLength return value Pin
Skarrin5-Mar-08 6:50
Skarrin5-Mar-08 6:50 
QuestionRe: Self-registered edit control class crashes because of wrong GetWindowTextLength return value Pin
CPallini5-Mar-08 8:27
mveCPallini5-Mar-08 8:27 
GeneralRe: Self-registered edit control class crashes because of wrong GetWindowTextLength return value Pin
Skarrin5-Mar-08 21:28
Skarrin5-Mar-08 21:28 
Part of this third-party library is a grid control, and the problems occurs when a GXEDIT control is created in-place to edit the contents of a cell.
The cell contains a 4-digit number, and the value returned by GetWindowTextLength is 12.
But only if I discard this value and reserve 25 bytes or more in CString::GetBufferSetLength, the heap doesn't get corrupted.

It's strange, but I think this is only a side effect of some error in the class registration.
If I don't use the XP visual styles for this app (no manifest file), everything works fine.
Other edit controls that are of the systems standard "edit" class type, work ok with or without styles enabled...

Regards, Jens
GeneralRe: Self-registered edit control class crashes because of wrong GetWindowTextLength return value Pin
Randor 5-Mar-08 8:56
professional Randor 5-Mar-08 8:56 
GeneralRe: Self-registered edit control class crashes because of wrong GetWindowTextLength return value Pin
Skarrin5-Mar-08 21:52
Skarrin5-Mar-08 21:52 
QuestionHow to display animated gif on status bar Pin
ptr_Electron5-Mar-08 4:56
ptr_Electron5-Mar-08 4:56 
AnswerRe: How to display animated gif on status bar Pin
toxcct5-Mar-08 5:04
toxcct5-Mar-08 5:04 
GeneralRe: How to display animated gif on status bar Pin
ptr_Electron6-Mar-08 0:41
ptr_Electron6-Mar-08 0:41 
AnswerRe: How to display animated gif on status bar Pin
Mark Salsbery5-Mar-08 14:31
Mark Salsbery5-Mar-08 14:31 
GeneralGetting Thread Exit Code Pin
masnu5-Mar-08 4:23
masnu5-Mar-08 4:23 
GeneralRe: Getting Thread Exit Code Pin
led mike5-Mar-08 4:30
led mike5-Mar-08 4:30 
GeneralRe: Getting Thread Exit Code Pin
masnu5-Mar-08 4:33
masnu5-Mar-08 4:33 
GeneralRe: Getting Thread Exit Code Pin
Ernest Laurentin5-Mar-08 4:41
Ernest Laurentin5-Mar-08 4:41 
GeneralRe: Getting Thread Exit Code Pin
CPallini5-Mar-08 4:48
mveCPallini5-Mar-08 4:48 
GeneralRe: Getting Thread Exit Code Pin
led mike5-Mar-08 5:29
led mike5-Mar-08 5:29 
GeneralRe: Getting Thread Exit Code Pin
Mark Salsbery5-Mar-08 14:32
Mark Salsbery5-Mar-08 14:32 
Questionhow to watch the content which is pointed by a pointer Pin
wendyyue5-Mar-08 3:50
wendyyue5-Mar-08 3:50 
AnswerRe: how to watch the content which is pointed by a pointer Pin
toxcct5-Mar-08 4:15
toxcct5-Mar-08 4:15 
GeneralRe: how to watch the content which is pointed by a pointer Pin
Rajkumar R5-Mar-08 4:59
Rajkumar R5-Mar-08 4:59 
GeneralRe: how to watch the content which is pointed by a pointer Pin
toxcct5-Mar-08 5:01
toxcct5-Mar-08 5:01 

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.