Increase Message Queue Size
Is there a way I can tell Windows to expand the message queue stack size?
Basicly, I'm getting so many messages posted to this one thread's queue that the handler can't process them fast enough, and some messages end up getting dumped. I need Windows to increase the size of that specific message queue. Is it even possible?
I know someone might ask me, "If the handler is falling behind what would increasing the queue size do other than prolong it's life?"; the answer would be that the overflow of messages occure in spruts, so the handler does would/does catch up with time.
I thought of increasing that thread's processor priority, but that wouldn't help becuase it's laging due to hardware communication, not processor over working.
Also, I don't have control of the program sending the messages, and I can't do any asyncrones operations either, the handler has to stay in service during the whole process.