home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / TaskSwitchXP / TaskSwitchXP_1.0.26.exe / Source / ConfigTsXP / stdafx.h < prev   
C/C++ Source or Header  |  2004-09-23  |  1KB  |  48 lines

  1. // stdafx.h
  2.  
  3. #ifndef UNICODE
  4. #define UNICODE
  5. #endif // UNICODE
  6.  
  7. #ifndef _UNICODE
  8. #define _UNICODE
  9. #endif // _UNICODE
  10.  
  11. #ifndef _WIN32_WINNT
  12. #define _WIN32_WINNT 0x0501
  13. #endif // _WIN32_WINNT
  14.  
  15. #ifndef _WIN32_IE
  16. #define _WIN32_IE 0x0600
  17. #endif // _WIN32_IE
  18.  
  19.  
  20. #include <windows.h>
  21. #include <windowsx.h>
  22. #include <tchar.h>
  23. #include <commctrl.h>
  24. #pragma comment(lib, "comctl32.lib")
  25.  
  26. #include <uxtheme.h>
  27. #include <tmschema.h>
  28. //#pragma comment(lib, "uxtheme.lib")
  29.  
  30.  
  31. #include <crtdbg.h>
  32.  
  33. #include <vector>
  34. #pragma comment(linker, "/NODEFAULTLIB:libcmt.lib")
  35. using namespace std;
  36.  
  37. #include <C:\Program Files\HTML Help Workshop\Include\HtmlHelp.h>
  38. #pragma comment(lib, "C:\\Program Files\\HTML Help Workshop\\Lib\\HtmlHelp.lib")
  39.  
  40. // 
  41. #define chSTR2(x)            #x
  42. #define chSTR(x)            chSTR2(x)
  43. #define FIX_LATER(desc)        message(__FILE__ "(" chSTR(__LINE__) "):" #desc)
  44.  
  45. #define VALUE_INRANGE(val, beg, end)    ((val >= beg) && (val <= end))
  46. #define SIZEOF_ARRAY(ar)                (sizeof(ar) / sizeof((ar)[0]))
  47. #define ABS(n)                            ((n >= 0) ? (n) : (-n))
  48.