home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / pserv.cpl / pserv-2.4.exe / source / StdAfx.h < prev    next >
C/C++ Source or Header  |  2005-01-05  |  2KB  |  63 lines

  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.  
  6. #if !defined(AFX_STDAFX_H__D03BC4A8_0808_49EC_B129_2E8A847135A4__INCLUDED_)
  7. #define AFX_STDAFX_H__D03BC4A8_0808_49EC_B129_2E8A847135A4__INCLUDED_
  8.  
  9. #if _MSC_VER > 1000
  10. #pragma once
  11. #endif // _MSC_VER > 1000
  12.  
  13. //#define VC_EXTRALEAN        // Exclude rarely-used stuff from Windows headers
  14.  
  15. #include <afxwin.h>         // MFC core and standard components
  16. #include <afxext.h>         // MFC extensions
  17. #include <afxcview.h>
  18. #include <afxdtctl.h>        // MFC support for Internet Explorer 4 Common Controls
  19. #ifndef _AFX_NO_AFXCMN_SUPPORT
  20. #include <afxcmn.h>            // MFC support for Windows Common Controls
  21. #endif // _AFX_NO_AFXCMN_SUPPORT
  22. #include <afxtempl.h>
  23.  
  24. #ifdef UNICODE
  25. #define tstrncpy wcsncpy
  26. #define tstrncmp wcsncmp
  27. #define tstrnicmp  _wcsnicmp
  28. #define tstrstr wcsstr
  29. #define tstrdup _wcsdup
  30. #define tstrtok wcstok  
  31. #define tstrrchr wcsrchr
  32. #define tstrchr wcschr
  33. #else
  34. #define tstrncpy strncpy
  35. #define tstrncmp strncmp
  36. #define tstrnicmp strnicmp
  37. #define tstrdup strdup
  38. #define tstrstr strstr
  39. #define tstrtok strtok
  40. #define tstrrchr strrchr
  41. #define tstrchr strchr
  42. #endif
  43.  
  44. #define CURRENT_VERSION TEXT("2.4")
  45.  
  46. inline BOOL IsEmptyString( LPCTSTR lpszString )
  47. {
  48.     return !lpszString || !*lpszString;
  49. }
  50.  
  51. void DeleteObjects(CObArray& array);
  52. CString FormattedString(LPCTSTR expression, ... );
  53. void DisplayErrorMessage(LPCTSTR lpszCaption, ...);
  54. typedef BOOL (*LPFNFindSubstring)(LPCTSTR lpszString, LPCTSTR lpszFind);
  55.  
  56.  
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59.  
  60. #endif // !defined(AFX_STDAFX_H__D03BC4A8_0808_49EC_B129_2E8A847135A4__INCLUDED_)
  61.  
  62.  
  63.