Subj : Re: threading problem in dll??? Help needed badly. To : comp.programming.threads From : David Schwartz Date : Mon Jul 11 2005 08:37 pm wrote in message news:1120716838.481648.277600@g43g2000cwa.googlegroups.com... > TryEnterCriticalSection(CS); > stopthread = true; > LeaveCriticalSection(CS); This code doesn't make any sense. What do you think it does? DS .