home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / TaskSwitchXP / TaskSwitchXP_1.0.26.exe / Source / TaskSwitchXP / stdafx.h < prev    next >
C/C++ Source or Header  |  2004-09-26  |  720b  |  36 lines

  1. // stdafx.h
  2.  
  3.  
  4. #define _WIN32_WINNT 0x0501
  5. #define _WIN32_IE 0x0600
  6.  
  7. #ifndef UNICODE
  8. #define UNICODE
  9. #endif // UNICODE
  10.  
  11. #ifndef _UNICODE
  12. #define _UNICODE
  13. #endif // _UNICODE
  14.  
  15. #include <windows.h>
  16. #include <uxtheme.h>
  17. #include <tmschema.h>
  18. #pragma comment(lib, "uxtheme.lib")
  19. #pragma comment(lib, "comctl32.lib")
  20.  
  21. #include <psapi.h>
  22. #pragma comment(lib, "Psapi.lib")
  23.  
  24. #pragma warning(disable:4725) // __asm fdiv [mem]
  25.  
  26. #include <crtdbg.h>
  27.  
  28.  
  29. #define chSTR2(x)            #x
  30. #define chSTR(x)            chSTR2(x)
  31. #define FIX_LATER(desc)        message(__FILE__ "(" chSTR(__LINE__) "):" #desc)
  32.  
  33. #define ABS(x)                ((x<0)?(-x):(x))
  34. #define MIN(x,y)            ((x<y)?(x):(y))
  35. #define SIZEOF_ARRAY(p)        (sizeof(p)/sizeof(p[0]))
  36.