#if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #define STRICT #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 // 0x0400 #endif #define _ATL_APARTMENT_THREADED #include //You may derive a class from CComModule and use it if you want to override //something, but do not change the name of _Module extern CComModule _Module; #include #include #include #include #include #include #include #include // Define tstring typedef std::basic_string tstring; #define TSTRING tstring #include "resource.h" #include #include #include HRESULT LoadImages(IImageList* pImageList); tstring StrLoadString(UINT uID); void StrGetEditText( HWND hWndParent, UINT uID, tstring& strRet ); void DisplayError(HWND hWnd, LPCTSTR pszMessage, LPCTSTR pszTitle, HRESULT hrErr ); BOOL Prefix_EnableWindow( HWND hDlg, UINT uCtrlID, BOOL bEnable ); BOOL IsAdmin();