"Dimitrie O. Paun" dpaun@rogers.com writes:
On Tue, Apr 19, 2005 at 01:13:12PM +0200, Alexandre Julliard wrote:
You can't hold the critsection when adding the handler since this will grab the vectored_handlers critsection, and thus acquire the sections in the reverse order of what happens when the handler is called.
Good point, I haven't even considered it. Thanks for catching this nasty.
Actually you have the same problem with the GDI lock, this is going to be more tricky to solve...