Hi Alexey, ANV> The important question: are TBP_Initialize and TBP_Finalize also multithreaded? ANV> If so, it will unfortunately hard to initialize a critical sections in ANV> TBP_Initialize...
No. They are called from the main thread and only on startup/shutdown. Otherwise, it would be wrong to recommend to create critical sections in TBP_Initialize :-) -- All the Best! Stefan ..."Compromise makes a good umbrella but a poor roof; it is a temporary expedient." - James Russel Lowell, American editor (1819-1891) ________________________________________________ http://www.silverstones.com/thebat/TBUDLInfo.html