#pragma once #define STRICT #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0400 #endif #pragma warning(disable : 4786) #ifdef _DEBUG //#define _CRTDBG_MAP_ALLOC #include #define DEBUG_NEW new(_NORMAL_BLOCK, THIS_FILE, __LINE__) //#define _ATL_DEBUG_INTERFACES #endif #include #include #include #include #include #import no_namespace no_implementation #import no_namespace no_implementation #define countof(a) (sizeof(a) / sizeof(a[0])) int __cdecl My_fwprintf ( const TCHAR *format, ... ); int __cdecl My_vfwprintf( const TCHAR *format, va_list argptr ); void __cdecl ThrowError(_com_error ce, UINT uId, ...); void __cdecl ThrowError(_com_error ce, LPCTSTR pszFormat = NULL, ...); //{{AFX_INSERT_LOCATION}}