StdAfx.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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__F330509F_7C84_4EBA_BB51_E484B3390820__INCLUDED_)
  6. #define AFX_STDAFX_H__F330509F_7C84_4EBA_BB51_E484B3390820__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. #ifndef _AFX_NO_DB_SUPPORT
  19. #include <afxdb.h> // MFC ODBC database classes
  20. #endif // _AFX_NO_DB_SUPPORT
  21. #include "NeroAPIGlue.h"
  22. //#define TEST_LOCAL 1 //用于本机测试
  23. #define SQLSERVER_VERSION //mnls
  24. //#define MODERN_VERSION //MODERN
  25. #include <afxtempl.h> // MFC 模板类
  26. #include "Shlwapi.h"
  27. #include ".\list\SortListCtrl.h"
  28. #include ".\list\SortListCtrl2.h"
  29. #include "NumEdit.h"
  30. #include "DateEdit.h"
  31. #define BMP_NORMAL 0x00000001L
  32. #define BMP_FOCUS 0x00000002L
  33. #define BMP_FOCUSED 0x00000004L
  34. #define BMP_DISABLE 0x00000008L
  35. #define BMP_FLASH 0x00000010L
  36. typedef struct tagresdata2
  37. {
  38. BOOL bHasBk;
  39. int nPicCount;
  40. int nPicCount2;
  41. DWORD nPicBmpCount[50];
  42. CRect rect[50];
  43. }RESDATA2;
  44. //GDI+
  45. #ifndef ULONG_PTR
  46. #define ULONG_PTR unsigned long*
  47. #endif
  48. #include <gdiplus.h> ////请修改为你的头文件路径
  49. using namespace Gdiplus;
  50. #pragma comment(lib, "gdiplus.lib") ////请修改为你的.lib文件路径
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #include "des.h"
  54. #include "Global.h"
  55. #ifdef VC80
  56. #pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'\"")
  57. #endif
  58. #ifdef VC90
  59. #pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'\"")
  60. #endif
  61. #endif // !defined(AFX_STDAFX_H__F330509F_7C84_4EBA_BB51_E484B3390820__INCLUDED_)