StdAfx.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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__D3E3BA89_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_)
  6. #define AFX_STDAFX_H__D3E3BA89_EEFA_11D5_AB1C_00D0B70C3D79__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 <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  14. #ifndef _AFX_NO_AFXCMN_SUPPORT
  15. #include <afxcmn.h> // MFC support for Windows Common Controls
  16. #endif // _AFX_NO_AFXCMN_SUPPORT
  17. #include <afxdb.h> // MFC ODBC database classes
  18. #include <afxmt.h>
  19. #include <afxsock.h> // MFC socket extensions
  20. #include "Shlwapi.h"
  21. #include <afxtempl.h>
  22. #include <shlobj.h>
  23. #include "shfolder.h"
  24. #define SQLSERVER_VERSION
  25. #define FTPSTAT_DOWNLOADSUCCEEDED 2
  26. #define FTPSTAT_UPLOADSUCCEEDED 3
  27. #define FTPSTAT_DOWNLOADFAILED 4
  28. #define FTPSTAT_UPLOADFAILED 5
  29. #define WM_THREADSTART WM_USER+200
  30. #define WM_THREADCLOSE WM_USER+201
  31. #define WM_THREADMSG WM_USER+202
  32. #define WM_ADDTRACELINE WM_USER+203
  33. extern CString BrowseForFolder(HWND hWnd, LPCSTR lpszTitle, UINT nFlags);
  34. extern void DoEvents();
  35. extern void GetAppDir(CString& strAppDir);
  36. extern BOOL WaitWithMessageLoop(HANDLE hEvent, int nTimeout);
  37. PFNSHGETFOLDERPATHA GetFuncPtr_SHGetFolderPathA();
  38. extern HRESULT CreateStartMenuShortcut(LPSTR lpszShortcutFile, LPSTR lpszDescription, LPTSTR lpszRelativeFolder);
  39. extern void RemoveStartMenuShortcut(LPSTR lpszDescription, LPTSTR lpszRelativeFolder);
  40. extern CString GetShortcutTarget(LPCTSTR lpszFilename);
  41. void AutoSizeColumns(CListCtrl *pListCtrl);
  42. BOOL MakeSureDirectoryPathExists(LPCTSTR lpszDirPath);
  43. BOOL IsNumeric(char *buff);
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_STDAFX_H__D3E3BA89_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_)