I send same message to a App for several times. And use PeekMessage() to get this message. For the first time, getting this message spent a lot of time, from the second time, spent only a little, WHY?
Printable View
I send same message to a App for several times. And use PeekMessage() to get this message. For the first time, getting this message spent a lot of time, from the second time, spent only a little, WHY?
I dont think that PeekMessage does anything to slow it down, can you post your code here for analysis ?