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

C / C++ / MFC

 
GeneralRe: fopen fails to give error when UAC is enabled Pin
Code-o-mat10-Nov-11 2:18
Code-o-mat10-Nov-11 2:18 
QuestionRe: fopen fails to give error when UAC is enabled Pin
David Crow10-Nov-11 2:35
David Crow10-Nov-11 2:35 
AnswerRe: fopen fails to give error when UAC is enabled Pin
Chris Meech10-Nov-11 2:46
Chris Meech10-Nov-11 2:46 
QuestionRe: fopen fails to give error when UAC is enabled Pin
David Crow10-Nov-11 4:11
David Crow10-Nov-11 4:11 
AnswerRe: fopen fails to give error when UAC is enabled Pin
Chris Meech10-Nov-11 4:29
Chris Meech10-Nov-11 4:29 
GeneralRe: fopen fails to give error when UAC is enabled Pin
David Crow10-Nov-11 4:36
David Crow10-Nov-11 4:36 
QuestionRe: fopen fails to give error when UAC is enabled Pin
bob1697210-Nov-11 4:09
bob1697210-Nov-11 4:09 
QuestionCEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.9-Nov-11 18:49
Vijjuuu.9-Nov-11 18:49 
I have a MFC MDI (logging) application developed in VS2005 in Windows XP which gets logs from another Process(using pipes) and logs them into view. i have a View derived from CEditView. There is so much of logging is done to MFC application for every sec and works good in XP.

when the same application is running in Windows 7. initally it seems to be good but when the logging data is becoming more and more we can se the MFC application is logging data very slowly when compared to XP.

On analysis it was found that operation on Edit Ctrl is making the logging slow

these are the line of code which is making the application slow .


int nLen = GetWindowTextLength();
GetEditCtrl().SetSel(nLen,nLen); // tested GetEditCtrl().SetSel(-1,-1); as well
GetEditCtrl().ReplaceSel(strTemp); // strTemp is the Cstring data which is read from pipe

Is there any better way to make application not to get slow in Window 7 ?
AnswerRe: CEditView operation rediculously Slows down in Windows 7 Pin
Richard MacCutchan9-Nov-11 22:37
mveRichard MacCutchan9-Nov-11 22:37 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.9-Nov-11 23:03
Vijjuuu.9-Nov-11 23:03 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Richard MacCutchan10-Nov-11 0:20
mveRichard MacCutchan10-Nov-11 0:20 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.10-Nov-11 5:00
Vijjuuu.10-Nov-11 5:00 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Richard MacCutchan10-Nov-11 6:23
mveRichard MacCutchan10-Nov-11 6:23 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.10-Nov-11 6:28
Vijjuuu.10-Nov-11 6:28 
AnswerRe: CEditView operation rediculously Slows down in Windows 7 Pin
David Crow10-Nov-11 2:46
David Crow10-Nov-11 2:46 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.10-Nov-11 4:59
Vijjuuu.10-Nov-11 4:59 
SuggestionRe: CEditView operation rediculously Slows down in Windows 7 Pin
David Crow10-Nov-11 5:05
David Crow10-Nov-11 5:05 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.10-Nov-11 5:08
Vijjuuu.10-Nov-11 5:08 
QuestionHow to repeat call to MapViewOfFile with a different range on a file, to write bigger buffer.? Pin
G Haranadh9-Nov-11 17:52
G Haranadh9-Nov-11 17:52 
AnswerRe: How to repeat call to MapViewOfFile with a different range on a file, to write bigger buffer.? Pin
peterchen9-Nov-11 22:03
peterchen9-Nov-11 22:03 
QuestionRe: How to repeat call to MapViewOfFile with a different range on a file, to write bigger buffer.? Pin
G Haranadh14-Nov-11 0:11
G Haranadh14-Nov-11 0:11 
GeneralRe: How to repeat call to MapViewOfFile with a different range on a file, to write bigger buffer.? Pin
peterchen14-Nov-11 20:50
peterchen14-Nov-11 20:50 
QuestionRe: How to repeat call to MapViewOfFile with a different range on a file, to write bigger buffer.? Pin
G Haranadh14-Nov-11 21:45
G Haranadh14-Nov-11 21:45 
Questionwin32 Listbox 101, Get Selected Value Pin
jkirkerx9-Nov-11 15:15
professionaljkirkerx9-Nov-11 15:15 
QuestionRe: win32 Listbox 101, Get Selected Value Pin
David Crow9-Nov-11 17:28
David Crow9-Nov-11 17:28 

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.