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

C / C++ / MFC

 
GeneralRe: BSTR in C++ Pin
Axonn Echysttas27-Jun-07 21:47
Axonn Echysttas27-Jun-07 21:47 
QuestionCPropertySheet::DoModal and focus problem Pin
rp_suman26-Jun-07 19:42
rp_suman26-Jun-07 19:42 
QuestionRe: CPropertySheet::DoModal and focus problem Pin
prasad_som27-Jun-07 0:53
prasad_som27-Jun-07 0:53 
AnswerRe: CPropertySheet::DoModal and focus problem Pin
rp_suman1-Jul-07 18:10
rp_suman1-Jul-07 18:10 
QuestionDocking Dialog Bar Pin
g_sandipan26-Jun-07 19:17
g_sandipan26-Jun-07 19:17 
AnswerRe: Docking Dialog Bar Pin
Nibu babu thomas26-Jun-07 19:34
Nibu babu thomas26-Jun-07 19:34 
GeneralRe: Docking Dialog Bar Pin
g_sandipan26-Jun-07 20:19
g_sandipan26-Jun-07 20:19 
QuestionMFC GUI on Windows Server 2003 runs slow like hell Pin
GameProfessor26-Jun-07 17:44
GameProfessor26-Jun-07 17:44 
Excuse me if I post in the wrong place but I'm having a very wierd problem.

I have an application written with MFC. Basically, it has around 10 worker threads doing smth continuously and post message to CMainFrame when done. The MainFrame will process these messages and update some list control on GUI. Simple, isnt' it?

Originally, I test and deploy my application on a Windows XP SP2 machine with CPU Celeron 2,4GHz. It runs well although it consumes 40-50% CPU all the time.

Now, I have a server with CPU Xeon 3GHz, 1GB RAM, SCSI hard disk with RAID 1 (seems to be an overkill hah). On this server, my application only consumes 5% CPU but it runs LIKE HELL. It takes ages for me to access menu items and do other things on the GUI. In other word, the GUI seems to be frozen regularly. I don't know what's going on !!!

I guess that because windows server 2003 has some mechanism to schedule and distribute CPU between applications. I have tried to config Processor scheduling & memory usage to best performance for program, it helps improves a bit, but still far from what's shown on the old Celeron computer !!! Setting process priority into "real time" in task manager also doesn't help.

I'm clueless now, any one please help me Cry | :((
AnswerRe: MFC GUI on Windows Server 2003 runs slow like hell Pin
Mark Salsbery27-Jun-07 6:19
Mark Salsbery27-Jun-07 6:19 
GeneralRe: MFC GUI on Windows Server 2003 runs slow like hell Pin
GameProfessor27-Jun-07 15:54
GameProfessor27-Jun-07 15:54 
GeneralRe: MFC GUI on Windows Server 2003 runs slow like hell Pin
Mark Salsbery28-Jun-07 7:23
Mark Salsbery28-Jun-07 7:23 
QuestionHow to push indeterminate size data into vector Pin
hanlei000000000926-Jun-07 16:43
hanlei000000000926-Jun-07 16:43 
AnswerRe: How to push indeterminate size data into vector Pin
Christian Graus26-Jun-07 17:08
protectorChristian Graus26-Jun-07 17:08 
AnswerRe: How to push indeterminate size data into vector Pin
Stephen Hewitt26-Jun-07 17:20
Stephen Hewitt26-Jun-07 17:20 
AnswerI resolve this problem by vector<vector Pin
hanlei000000000926-Jun-07 17:41
hanlei000000000926-Jun-07 17:41 
GeneralRe: I resolve this problem by vector&lt;vector Pin
Steve Echols26-Jun-07 18:20
Steve Echols26-Jun-07 18:20 
Questionhow to obtain messages that have been posted/sent into a control? Pin
awah26-Jun-07 16:21
awah26-Jun-07 16:21 
AnswerRe: how to obtain messages that have been posted/sent into a control? Pin
Hans Dietrich26-Jun-07 16:48
mentorHans Dietrich26-Jun-07 16:48 
AnswerRe: how to obtain messages that have been posted/sent into a control? Pin
JudyL_MD27-Jun-07 2:36
JudyL_MD27-Jun-07 2:36 
Questionhow to do colour image quantization using VC++ Pin
gentleguy26-Jun-07 15:00
gentleguy26-Jun-07 15:00 
QuestionRe: how to do colour image quantization using VC++ Pin
Hamid_RT26-Jun-07 19:13
Hamid_RT26-Jun-07 19:13 
Questionhelp with a lil short piece of code Pin
andyspartyshop26-Jun-07 14:28
andyspartyshop26-Jun-07 14:28 
AnswerRe: help with a lil short piece of code Pin
Christian Graus26-Jun-07 14:59
protectorChristian Graus26-Jun-07 14:59 
QuestionHow to Convert LPTSTR to string class in VC++ Pin
Jahnson K26-Jun-07 12:57
Jahnson K26-Jun-07 12:57 
AnswerRe: How to Convert LPTSTR to string class in VC++ Pin
Mark Salsbery26-Jun-07 13:29
Mark Salsbery26-Jun-07 13:29 

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.