Click here to Skip to main content
15,915,818 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Fetching records in Bulk Pin
Bravoone_200613-Sep-06 21:47
Bravoone_200613-Sep-06 21:47 
AnswerRe: Fetching records in Bulk Pin
David Crow14-Sep-06 3:18
David Crow14-Sep-06 3:18 
Questionhow to resolve Pin
Parshant Verma13-Sep-06 20:36
Parshant Verma13-Sep-06 20:36 
Questionhow to resolve linking error Pin
Parshant Verma13-Sep-06 20:35
Parshant Verma13-Sep-06 20:35 
AnswerRe: how to resolve linking error Pin
Hamid_RT13-Sep-06 21:21
Hamid_RT13-Sep-06 21:21 
QuestionMultithreaded server application - increase in application memory usage Pin
FFKONG13-Sep-06 20:07
FFKONG13-Sep-06 20:07 
AnswerRe: Multithreaded server application - increase in application memory usage Pin
Mr.Brainley13-Sep-06 23:08
Mr.Brainley13-Sep-06 23:08 
AnswerRe: Multithreaded server application - increase in application memory usage Pin
Mr.Brainley13-Sep-06 23:09
Mr.Brainley13-Sep-06 23:09 
Well, to be honest, i didn't read your code, it's too much. But here's a general hint. It's usually better in Server-Applications that serve many Clients, especially when the maximum number if concurrent clientrequests is high or unknown, to use a thread-pool. That means, on Startup you create a certain number of threads, say 10, in suspended mode. Each time a request comes in, you check if there is a free thread, and if so let that thread handle the request. If all threads are busy, you have to queue further requests. Good thing about that is, that on suddenly growing number of requests your server memory requirements don't explode. Also, you don't have the performance overhead of all the thread creation/deletion. I can't give you any more specific advise, but i hope it helps.

Edit: So that's why they allways say : "Only klick that button once !" ...
Questionpopping up a window Pin
narayanagvs13-Sep-06 19:51
narayanagvs13-Sep-06 19:51 
AnswerRe: popping up a window Pin
_AnsHUMAN_ 13-Sep-06 20:40
_AnsHUMAN_ 13-Sep-06 20:40 
QuestionHow to subclass a Messgebox Pin
LiYS13-Sep-06 19:36
LiYS13-Sep-06 19:36 
AnswerRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 19:39
_AnsHUMAN_ 13-Sep-06 19:39 
GeneralRe: How to subclass a Messgebox Pin
LiYS13-Sep-06 20:03
LiYS13-Sep-06 20:03 
GeneralRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 20:12
_AnsHUMAN_ 13-Sep-06 20:12 
GeneralRe: How to subclass a Messgebox Pin
LiYS13-Sep-06 20:08
LiYS13-Sep-06 20:08 
GeneralRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 20:15
_AnsHUMAN_ 13-Sep-06 20:15 
GeneralRe: How to subclass a Messgebox Pin
LiYS13-Sep-06 21:51
LiYS13-Sep-06 21:51 
GeneralRe: How to subclass a Messgebox Pin
_AnsHUMAN_ 13-Sep-06 22:02
_AnsHUMAN_ 13-Sep-06 22:02 
AnswerRe: How to subclass a Messgebox Pin
Hamid_RT13-Sep-06 23:03
Hamid_RT13-Sep-06 23:03 
QuestionShow CWnd as active when not selected Pin
NorGUI13-Sep-06 19:18
NorGUI13-Sep-06 19:18 
QuestionAssertion Error while creating dialog box Pin
gloriousgopi13-Sep-06 18:45
gloriousgopi13-Sep-06 18:45 
QuestionRe: Assertion Error while creating dialog box Pin
prasad_som13-Sep-06 19:02
prasad_som13-Sep-06 19:02 
AnswerRe: Assertion Error while creating dialog box Pin
Hamid_RT13-Sep-06 19:22
Hamid_RT13-Sep-06 19:22 
QuestionRe: Assertion Error while creating dialog box Pin
gloriousgopi13-Sep-06 20:27
gloriousgopi13-Sep-06 20:27 
AnswerRe: Assertion Error while creating dialog box Pin
Hamid_RT13-Sep-06 20:52
Hamid_RT13-Sep-06 20:52 

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.