// IMTDemo.h : header file for the IMTDemo application // #pragma once #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" class CIMTDemoApp : public CWinApp { public: CIMTDemoApp(); virtual ~CIMTDemoApp(); public: virtual BOOL InitInstance(); DECLARE_MESSAGE_MAP() CMutex m_Mutex; BOOL m_block; }; extern CIMTDemoApp theApp;