home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / BOCOLE.PAK / BOLEGUID.CPP < prev    next >
C/C++ Source or Header  |  1995-08-29  |  807b  |  28 lines

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