Click here to Skip to main content
15,909,827 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: BSTR in C++ Pin
Axonn Echysttas26-Jun-07 20:52
Axonn Echysttas26-Jun-07 20:52 
GeneralRe: BSTR in C++ Pin
Nibu babu thomas26-Jun-07 21:06
Nibu babu thomas26-Jun-07 21:06 
AnswerRe: BSTR in C++ Pin
Arman S.26-Jun-07 20:16
Arman S.26-Jun-07 20:16 
GeneralRe: BSTR in C++ Pin
Axonn Echysttas26-Jun-07 20:48
Axonn Echysttas26-Jun-07 20:48 
GeneralRe: BSTR in C++ Pin
CPallini26-Jun-07 21:06
mveCPallini26-Jun-07 21:06 
GeneralRe: BSTR in C++ Pin
CPallini26-Jun-07 21:03
mveCPallini26-Jun-07 21:03 
GeneralRe: BSTR in C++ Pin
Randor 27-Jun-07 8:38
professional Randor 27-Jun-07 8:38 
AnswerRe: BSTR in C++ Pin
Randor 27-Jun-07 8:48
professional Randor 27-Jun-07 8:48 
GeneralRe: BSTR in C++ Pin
Axonn Echysttas27-Jun-07 9:24
Axonn Echysttas27-Jun-07 9:24 
GeneralRe: BSTR in C++ Pin
Randor 27-Jun-07 17:03
professional Randor 27-Jun-07 17:03 
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 

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.