home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / BOCOLE.PAK / BOLEGUID.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  790 b   |  24 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectComponents
  3. // Copyright (c) 1994, 1996 by Borland International, All Rights Reserved
  4. //
  5. // $Revision:   2.2  $
  6. //
  7. //  Forces the OLE2 GUIDs to be compiled into the code segment, since 
  8. //  compiling them into the data segment produces multi-instance problems.
  9. //
  10. // NOTE! This file must be compiled with the following flags for 16-bit:
  11. //   -zE_TEXT -zFCODE    (this forces the GUIDs into the code segment)
  12. //----------------------------------------------------------------------------
  13. #define INITGUID        // stick the guids in this module
  14.  
  15. #ifdef    WIN32
  16.     #include <Windows.h>
  17.     #include <InitGUID.h>
  18. #endif
  19.  
  20. #define INIT_BGUID        // stick the guids in this module
  21.  
  22. #include "BOle.h"
  23.  
  24.