stdafx.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10. // STDAFX.H is the header that includes the standard includes that are used
  11. // for most of the project. These are compiled into a pre-compiled header
  12. // core headers
  13. #include "afx.h"
  14. // public headers
  15. #include "afxres.h"
  16. inline HINSTANCE AFXAPI AfxGetResourceHandle()
  17. { ASSERT(afxCurrentResourceHandle != NULL);
  18. return afxCurrentResourceHandle; }
  19. int AFXAPI AfxLoadString(UINT nIDS, LPTSTR lpszBuf, UINT nMaxBuf = 256);
  20. #define _countof(array) (sizeof(array)/sizeof(array[0]))
  21. BOOL AFXAPI AfxFullPath(LPTSTR lpszPathOut, LPCTSTR lpszFileIn);
  22. #include <stddef.h>
  23. #include <limits.h>
  24. #include <malloc.h>
  25. /////////////////////////////////////////////////////////////////////////////