Win32.h 863 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <windows.h>
  3. #include <stdlib.h>
  4. #include <string.h>
  5. #include <tchar.h>
  6. #include <iostream>
  7. #include <fstream>
  8. #define TEST MessageBox(hWnd,L"Success!",L"step test",MB_OK)
  9. #ifdef _UNICODE
  10. #if defined _M_IX86
  11. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
  12. #elif defined _M_X64
  13. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
  14. #else
  15. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
  16. #endif
  17. #endif