On Mon, 2003-09-15 at 20:45, Alexandre Julliard wrote:
You are trying to protect the global list of items with a per-item critical section. This cannot possibly work.
I am? As far as I can see, the linked list probably should have a critical section too, but the per item one is to protect access to the NOTIFYICONDATAA structure, as both the calling thread and the dedicated trayitem thread could be accessing it, so you need protection on the item level too.
Better way to do it then?