#pragma warning (disable : 4786) #include #include extern long g_cLock; extern long g_cObj;