home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / vjplusb / activex / inetsdk / samples / axscript / spruuids / src / main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-15  |  2.0 KB  |  60 lines

  1. //---------------------------------------------------------------------------
  2. // Main.h
  3. //---------------------------------------------------------------------------
  4. // Main header file for all source files.  Hopefully, we'll then pre-compile
  5. // this one header...
  6. //---------------------------------------------------------------------------
  7. // (C) Copyright 1996 by Microsoft Corporation.  All rights reserved.
  8. //
  9. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 
  10. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
  11. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 
  12. // PARTICULAR PURPOSE.
  13. //---------------------------------------------------------------------------
  14.  
  15. #pragma warning(disable:4201) // nameless struct/union
  16. #pragma warning(disable:4100) // unreferenced formal parameter
  17. #pragma warning(disable:4514) // unreferenced inline function has been removed
  18.  
  19.  
  20. // External Headers
  21. #define  STRICT
  22. #include <Windows.h>
  23. #include <StdLib.h>
  24. #include <Memory.h>
  25. #include <OleCtl.h>
  26.  
  27. // ActiveX Scripting related headers
  28. #include "ActivScp.h"
  29. #include "MultInfo.h"
  30. #include "VBSGuids.h"
  31. #include "CompMgr.h"
  32.  
  33. // VC++ Created Headers
  34. #include "Resource.h"     // From Spruuids.rc  via RC.exe
  35. #include "Spruuids.h"     // From Spruuids.odl via MkTypeLib.exe
  36.  
  37. // Globals
  38. extern HINSTANCE g_hinst;
  39. extern ITypeLib *g_ptlMain;
  40. extern ITypeLib *g_ptlGameSubObj;
  41. extern IUnknown *g_punkApplicationNA;   // For .Application properties (not AddRef'd)
  42. extern HBRUSH    g_hbrushStock;
  43.  
  44. // Global TypeInformation
  45. extern ITypeInfo *g_ptinfoClsGame;
  46. extern ITypeInfo *g_ptinfoIntGame;
  47. extern ITypeInfo *g_ptinfoClsGameOA;
  48. extern ITypeInfo *g_ptinfoIntGameOA;
  49. extern ITypeInfo *g_ptinfoClsSpriteClass;
  50. extern ITypeInfo *g_ptinfoIntSpriteClass;
  51. extern ITypeInfo *g_ptinfoClsSprite;
  52. extern ITypeInfo *g_ptinfoIntSprite;
  53.  
  54. // Internal Headers
  55. #include "Debug.h"
  56. #include "Helpers.h"
  57. #include "OleAuto.h"
  58.  
  59. //--- EOF -------------------------------------------------------------------
  60.