MessagerBox() is not thread safe. IIRC (been three years...) MessageBox() creates a new thread to poll for a response, allows the calling thread to continue, thus negating any critical sections.
Should you be using PostThreadMessage()?
MessagerBox() is not thread safe. IIRC (been three years...) MessageBox() creates a new thread to poll for a response, allows the calling thread to continue, thus negating any critical sections.
Should you be using PostThreadMessage()?
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill