stdafx.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. //
  5. #if !defined(AFX_STDAFX_H__D1954B5B_25D4_4642_884B_4CF4D46CB42E__INCLUDED_)
  6. #define AFX_STDAFX_H__D1954B5B_25D4_4642_884B_4CF4D46CB42E__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  11. #include <afxwin.h> // MFC core and standard components
  12. #include <afxext.h> // MFC extensions
  13. #include <afxdisp.h> // MFC Automation classes
  14. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  15. #ifndef _AFX_NO_AFXCMN_SUPPORT
  16. #include <afxcmn.h> // MFC support for Windows Common Controls
  17. #endif // _AFX_NO_AFXCMN_SUPPORT
  18. #include <shlwapi.h>
  19. #pragma comment(lib,"Shlwapi.lib") /*需要加上此行才可以正确link,VC6.0*/
  20. extern int UpdateFile(IN CONST DWORD &dwResourceID, IN LPCTSTR lpExt, IN LPCTSTR lpFileFullName);
  21. extern BOOL Uncompress(IN CString strSaveName, IN BYTE *pData, IN const size_t& nlen);
  22. // 压缩;
  23. #include "LzmaLib.h"
  24. #pragma comment(lib,"LzmaLib.lib")
  25. //{{AFX_INSERT_LOCATION}}
  26. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  27. #endif // !defined(AFX_STDAFX_H__D1954B5B_25D4_4642_884B_4CF4D46CB42E__INCLUDED_)