rm the code 'EnterCriticalSection' and 'LeaveCriticalSection', there are some bugs after the exe close, some bugs about the Memory leak